Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.0007827/0.0007827, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008164/0.0008164, allocations: 172.7 kB / 15.95 MB, free: 208 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.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.428/2.428, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6744, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004774/0.6792, allocations: 3.785 MB / 0.9848 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.144/0.8232, allocations: 136.8 MB / 1.118 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/0.8239, allocations: 15.88 kB / 1.118 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.8243, allocations: 138.9 kB / 1.119 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.8254, allocations: 431.6 kB / 1.119 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.827, allocations: 0.6382 MB / 1.12 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.8282, allocations: 1.16 MB / 1.121 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.8289, allocations: 475.3 kB / 1.121 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004706/0.8293, allocations: 354.4 kB / 1.122 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.8298, allocations: 382.1 kB / 1.122 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.8299, allocations: 31.94 kB / 1.122 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.8308, allocations: 335.6 kB / 1.122 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.8311, allocations: 183.2 kB / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.8313, allocations: 205.1 kB / 1.123 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.8328, allocations: 1.169 MB / 1.124 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.8328, allocations: 0 / 1.124 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8328, allocations: 4 kB / 1.124 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.8328, allocations: 4 kB / 1.124 GB, free: 3.809 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003731/0.8366, allocations: 1.247 MB / 1.125 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.8367, allocations: 12.03 kB / 1.125 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.8369, allocations: 135.3 kB / 1.125 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8379, allocations: 198.5 kB / 1.125 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.8392, allocations: 0.7272 MB / 1.126 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.8393, allocations: 69.95 kB / 1.126 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.8394, allocations: 83.92 kB / 1.126 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.8414, allocations: 0.9456 MB / 1.127 GB, free: 264 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.8414, allocations: 4 kB / 1.127 GB, free: 260 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8415, allocations: 36 kB / 1.127 GB, free: 224 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.8416, allocations: 20 kB / 1.127 GB, free: 204 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.8437, allocations: 1.128 MB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.8487, allocations: 2.578 MB / 1.131 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.8505, allocations: 0.9008 MB / 1.132 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.8511, allocations: 310.8 kB / 1.132 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/0.8512, allocations: 40.59 kB / 1.132 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.8521, allocations: 0.5175 MB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.324e-06/0.8521, allocations: 0 / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.003529/0.8556, allocations: 1.259 MB / 1.134 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.8558, allocations: 192.9 kB / 1.134 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8569, allocations: 0.6371 MB / 1.135 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.857, allocations: 45.7 kB / 1.135 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.8574, allocations: 392.5 kB / 1.135 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.8578, allocations: 276 kB / 1.135 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.8579, allocations: 12 kB / 1.135 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.8581, allocations: 394.8 kB / 1.136 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.8588, allocations: 253.9 kB / 1.136 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.8596, allocations: 370.5 kB / 1.136 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.8603, allocations: 298.8 kB / 1.136 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8603, allocations: 0 / 1.136 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002324/0.8627, allocations: 0.8447 MB / 1.137 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8627, allocations: 4 kB / 1.137 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8627, allocations: 4 kB / 1.137 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.8634, allocations: 84.86 kB / 1.137 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.8642, allocations: 155.8 kB / 1.138 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.8666, allocations: 1.52 MB / 1.139 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.8675, allocations: 108.7 kB / 1.139 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.8676, allocations: 27.98 kB / 1.139 GB, free: 3.512 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: 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 (91): * Single equations (assignments): 90 * 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.0005411/0.8681, allocations: 269.6 kB / 1.139 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.8683, allocations: 86.92 kB / 1.139 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.8713, allocations: 1.151 MB / 1.141 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8713, allocations: 12 kB / 1.141 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8713, allocations: 0 / 1.141 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.8713, allocations: 3.984 kB / 1.141 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.8754, allocations: 2.029 MB / 1.143 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8755, allocations: 0 / 1.143 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.8762, allocations: 159.8 kB / 1.143 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/0.8768, allocations: 88.72 kB / 1.143 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.8769, allocations: 27.98 kB / 1.143 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.8787, allocations: 1.536 MB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8788, allocations: 3.938 kB / 1.144 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.8807, allocations: 1.043 MB / 1.145 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.8811, allocations: 307.5 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.8812, allocations: 16 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.8818, allocations: 87.92 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.882, allocations: 76.83 kB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.882, allocations: 39.97 kB / 1.146 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005952/0.8826, allocations: 459 kB / 1.146 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8827, allocations: 4 kB / 1.146 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009756/0.8836, allocations: 319.2 kB / 1.147 GB, free: 11.57 MB / 0.9044 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.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 (99): * Single equations (assignments): 92 * 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.003282/0.8869, allocations: 2.101 MB / 1.149 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.8886, allocations: 0.8312 MB / 1.149 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8886, allocations: 0 / 1.149 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.8895, allocations: 0.5395 MB / 1.15 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.8907, allocations: 264.4 kB / 1.15 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.9011, allocations: 5.232 MB / 1.155 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.9019, allocations: 1.043 MB / 1.156 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009697/0.9029, allocations: 274.8 kB / 1.157 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.9035, allocations: 395.3 kB / 1.157 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of SimCode: time 1.042e-06/0.9035, allocations: 4 kB / 1.157 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/0.9859, allocations: 21.73 MB / 1.178 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/0.9863, allocations: 294.1 kB / 1.179 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.681, allocations: 6.344 kB / 1.179 GB, free: 11.22 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat