Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009329, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009858/0.0009857, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6404, allocations: 142.3 MB / 0.9535 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003898/0.6443, allocations: 3.756 MB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.78, allocations: 127.7 MB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.7806, allocations: 11.94 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.7809, allocations: 87.19 kB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.7823, allocations: 0.513 MB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.7838, allocations: 0.6356 MB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.7849, allocations: 0.8573 MB / 1.084 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006193/0.7855, allocations: 475.4 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.786, allocations: 374.4 kB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.7864, allocations: 362.2 kB / 1.085 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.209e-05/0.7865, allocations: 28 kB / 1.085 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.7871, allocations: 315.6 kB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.7873, allocations: 187.2 kB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.7875, allocations: 205.1 kB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.7886, allocations: 1.188 MB / 1.087 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7886, allocations: 3.938 kB / 1.087 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7886, allocations: 4 kB / 1.087 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.7887, allocations: 4 kB / 1.087 GB, free: 7.148 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002289/0.791, allocations: 1.25 MB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.791, allocations: 16.03 kB / 1.088 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.7919, allocations: 198.4 kB / 1.088 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.793, allocations: 0.735 MB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.7931, allocations: 66 kB / 1.089 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.7932, allocations: 80 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.7948, allocations: 0.9574 MB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7948, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.7949, allocations: 43.94 kB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.795, allocations: 27.94 kB / 1.09 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7968, allocations: 1.167 MB / 1.091 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.8011, allocations: 2.691 MB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.8026, allocations: 0.8628 MB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.456e-05/0.8027, allocations: 28.69 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/0.8036, allocations: 0.5392 MB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=88): time 2.404e-06/0.8036, allocations: 3.938 kB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88): time 0.003079/0.8067, allocations: 1.289 MB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.8068, allocations: 188.9 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.8076, allocations: 0.6567 MB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.8076, allocations: 41.7 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.8079, allocations: 412.3 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.8082, allocations: 276 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.8082, allocations: 19.94 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8084, allocations: 386.8 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.8089, allocations: 277.8 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.8095, allocations: 378.5 kB / 1.099 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.8101, allocations: 318.9 kB / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8101, allocations: 0 / 1.1 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001874/0.812, allocations: 0.8683 MB / 1.1 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.812, allocations: 4 kB / 1.1 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.812, allocations: 8.062 kB / 1.1 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.8126, allocations: 88.72 kB / 1.1 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.8133, allocations: 183.6 kB / 1.101 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.8153, allocations: 1.528 MB / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.8161, allocations: 103.4 kB / 1.102 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.8162, allocations: 35.97 kB / 1.102 GB, free: 6.969 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004241/0.8166, allocations: 277 kB / 1.103 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8167, allocations: 90.88 kB / 1.103 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.8192, allocations: 1.183 MB / 1.104 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.8192, allocations: 8 kB / 1.104 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.8192, allocations: 7.984 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.8193, allocations: 3.984 kB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.8203, allocations: 0.9463 MB / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8204, allocations: 0 / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.821, allocations: 155.8 kB / 1.105 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.8215, allocations: 84.77 kB / 1.105 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/0.8216, allocations: 31.98 kB / 1.105 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.8233, allocations: 1.559 MB / 1.106 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8234, allocations: 0 / 1.106 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.8254, allocations: 0.9942 MB / 1.107 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/0.8258, allocations: 307.5 kB / 1.108 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.826, allocations: 16 kB / 1.108 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.8267, allocations: 87.92 kB / 1.108 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.8269, allocations: 81.11 kB / 1.108 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.827, allocations: 39.97 kB / 1.108 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006041/0.8276, allocations: 483 kB / 1.108 GB, free: 404 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8276, allocations: 0 / 1.108 GB, free: 404 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008568/0.8284, allocations: 315.2 kB / 1.109 GB, free: 88 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.8298, allocations: 0.6028 MB / 1.109 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.8315, allocations: 0.8663 MB / 1.11 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8315, allocations: 0 / 1.11 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.8325, allocations: 0.5434 MB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.8336, allocations: 254.3 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.8379, allocations: 2.258 MB / 1.113 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.8386, allocations: 1.067 MB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009165/0.8395, allocations: 275.1 kB / 1.114 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.8398, allocations: 111.4 kB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.8398, allocations: 0 / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.02666/0.8665, allocations: 14.32 MB / 1.129 GB, free: 12.07 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches