Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001417, allocations: 98.77 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.002368/0.002368, 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 2.42/2.42, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.367/4.367, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393/1.394, allocations: 146.8 MB / 0.9809 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007942/1.402, allocations: 3.61 MB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2386/1.641, allocations: 127.5 MB / 1.109 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/1.642, allocations: 11.94 kB / 1.109 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/1.643, allocations: 79.27 kB / 1.109 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/1.645, allocations: 0.4889 MB / 1.109 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/1.648, allocations: 0.6239 MB / 1.11 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002295/1.651, allocations: 0.8104 MB / 1.111 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/1.652, allocations: 483.3 kB / 1.111 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008131/1.653, allocations: 330.6 kB / 1.112 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006945/1.653, allocations: 330.3 kB / 1.112 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/1.654, allocations: 24 kB / 1.112 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/1.655, allocations: 307.6 kB / 1.112 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/1.655, allocations: 179.2 kB / 1.112 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/1.655, allocations: 201.1 kB / 1.113 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/1.657, allocations: 1.169 MB / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.657, allocations: 0 / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.565e-06/1.657, allocations: 0 / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.536e-05/1.657, allocations: 3.938 kB / 1.114 GB, free: 13.87 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003588/1.661, allocations: 1.212 MB / 1.115 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.661, allocations: 8.031 kB / 1.115 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002796/1.661, allocations: 131.2 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/1.663, allocations: 194.5 kB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.665, allocations: 0.7147 MB / 1.116 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/1.665, allocations: 73.95 kB / 1.116 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/1.665, allocations: 83.98 kB / 1.116 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/1.667, allocations: 0.9067 MB / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/1.667, allocations: 0 / 1.117 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.667, allocations: 32 kB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/1.668, allocations: 20 kB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/1.67, allocations: 1.116 MB / 1.118 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/1.677, allocations: 2.555 MB / 1.121 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.679, allocations: 0.8871 MB / 1.122 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.679, allocations: 32.61 kB / 1.122 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/1.68, allocations: 495.1 kB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 6.452e-06/1.68, allocations: 0 / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.004482/1.685, allocations: 1.208 MB / 1.123 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.685, allocations: 196.5 kB / 1.123 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.686, allocations: 0.6175 MB / 1.124 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.687, allocations: 41.7 kB / 1.124 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/1.687, allocations: 392.4 kB / 1.124 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/1.687, allocations: 256.3 kB / 1.125 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/1.687, allocations: 16 kB / 1.125 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002224/1.688, allocations: 382.8 kB / 1.125 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007381/1.688, allocations: 249.9 kB / 1.125 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/1.689, allocations: 358.5 kB / 1.126 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/1.69, allocations: 290.9 kB / 1.126 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.69, allocations: 0 / 1.126 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00278/1.693, allocations: 0.802 MB / 1.127 GB, free: 284 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/1.693, allocations: 5.719 kB / 1.127 GB, free: 280 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.693, allocations: 11.89 kB / 1.127 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008128/1.694, allocations: 84.86 kB / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/1.695, allocations: 147.8 kB / 1.127 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/1.698, allocations: 1.563 MB / 1.128 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/1.699, allocations: 88.75 kB / 1.129 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.699, allocations: 36.05 kB / 1.129 GB, free: 14.2 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (85): * Single equations (assignments): 84 * 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.0007471/1.7, allocations: 267 kB / 1.129 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/1.7, allocations: 78.97 kB / 1.129 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/1.704, allocations: 1.081 MB / 1.13 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.704, allocations: 8 kB / 1.13 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/1.704, allocations: 0 / 1.13 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.704, allocations: 3.984 kB / 1.13 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/1.709, allocations: 1.961 MB / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/1.709, allocations: 0 / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/1.71, allocations: 143.8 kB / 1.132 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/1.711, allocations: 88.7 kB / 1.132 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.711, allocations: 27.94 kB / 1.132 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/1.713, allocations: 1.575 MB / 1.134 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.713, allocations: 3.938 kB / 1.134 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/1.716, allocations: 0.9921 MB / 1.135 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/1.717, allocations: 291.7 kB / 1.135 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/1.717, allocations: 19.98 kB / 1.135 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009124/1.718, allocations: 79.94 kB / 1.135 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/1.719, allocations: 73.17 kB / 1.135 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.719, allocations: 35.98 kB / 1.135 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009559/1.72, allocations: 447 kB / 1.136 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.72, allocations: 0 / 1.136 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00148/1.721, allocations: 303.2 kB / 1.136 GB, free: 6.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00556/1.727, allocations: 2.043 MB / 1.138 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002777/1.73, allocations: 0.8002 MB / 1.139 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.73, allocations: 4 kB / 1.139 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.731, allocations: 0.5158 MB / 1.139 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.733, allocations: 238.6 kB / 1.139 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.75, allocations: 5.477 MB / 1.145 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009874/1.751, allocations: 1.035 MB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00158/1.753, allocations: 258.5 kB / 1.146 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008276/1.753, allocations: 379.3 kB / 1.146 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of SimCode: time 1.693e-06/1.753, allocations: 0 / 1.146 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07553/1.829, allocations: 21.03 MB / 1.167 GB, free: 7.164 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004821/1.83, allocations: 279.2 kB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.701/5.53, allocations: 2.031 kB / 1.167 GB, free: 6.805 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat