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.001474/0.001474, allocations: 100.1 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.001894/0.001895, allocations: 177.3 kB / 15.95 MB, free: 216 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.474/2.474, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.473/4.473, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006004/0.0006006, allocations: 11.98 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42/1.421, allocations: 146.8 MB / 0.9809 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005425/1.426, allocations: 3.696 MB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2268/1.653, allocations: 127.6 MB / 1.109 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.655, allocations: 11.94 kB / 1.109 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/1.656, allocations: 83.27 kB / 1.109 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004273/1.66, allocations: 0.5042 MB / 1.11 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/1.664, allocations: 0.6259 MB / 1.11 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003149/1.667, allocations: 0.8415 MB / 1.111 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/1.668, allocations: 487.4 kB / 1.112 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/1.669, allocations: 350.5 kB / 1.112 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/1.67, allocations: 354.2 kB / 1.112 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/1.67, allocations: 24 kB / 1.112 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/1.672, allocations: 311.6 kB / 1.113 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/1.672, allocations: 191.2 kB / 1.113 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003477/1.673, allocations: 201.1 kB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/1.675, allocations: 1.173 MB / 1.114 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.675, allocations: 0 / 1.114 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.857e-06/1.675, allocations: 0 / 1.114 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.675, allocations: 0 / 1.114 GB, free: 13.51 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.003506/1.678, allocations: 1.253 MB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/1.678, allocations: 8.031 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/1.679, allocations: 139.3 kB / 1.115 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.68, allocations: 194.5 kB / 1.116 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.681, allocations: 0.7233 MB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/1.681, allocations: 69.95 kB / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.681, allocations: 80 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/1.683, allocations: 0.9379 MB / 1.117 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.683, allocations: 0 / 1.117 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/1.683, allocations: 40 kB / 1.117 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/1.683, allocations: 20 kB / 1.117 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/1.685, allocations: 1.124 MB / 1.119 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005228/1.691, allocations: 2.574 MB / 1.121 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.693, allocations: 0.9238 MB / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.266e-05/1.693, allocations: 32.67 kB / 1.122 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/1.694, allocations: 0.5059 MB / 1.122 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 5.03e-06/1.694, allocations: 4 kB / 1.122 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003812/1.698, allocations: 1.256 MB / 1.124 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/1.698, allocations: 192.9 kB / 1.124 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.699, allocations: 0.6409 MB / 1.124 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.699, allocations: 41.7 kB / 1.125 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.699, allocations: 392.5 kB / 1.125 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/1.7, allocations: 276 kB / 1.125 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/1.7, allocations: 19.94 kB / 1.125 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002417/1.7, allocations: 386.8 kB / 1.126 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/1.701, allocations: 253.9 kB / 1.126 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006925/1.701, allocations: 374.4 kB / 1.126 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/1.702, allocations: 306.9 kB / 1.126 GB, free: 428 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.702, allocations: 4 kB / 1.126 GB, free: 424 kB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002191/1.704, allocations: 0.8214 MB / 1.127 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.704, allocations: 17.5 kB / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.704, allocations: 0 / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/1.705, allocations: 80.88 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/1.706, allocations: 163.8 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.708, allocations: 1.536 MB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/1.709, allocations: 108.7 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/1.709, allocations: 27.98 kB / 1.129 GB, free: 13.51 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.0006129/1.71, allocations: 266.7 kB / 1.129 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.71, allocations: 86.92 kB / 1.129 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/1.713, allocations: 1.151 MB / 1.131 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.713, allocations: 12 kB / 1.131 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.713, allocations: 0 / 1.131 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.713, allocations: 7.969 kB / 1.131 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004799/1.717, allocations: 2.029 MB / 1.133 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.717, allocations: 0 / 1.133 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009713/1.718, allocations: 159.8 kB / 1.133 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/1.719, allocations: 96.66 kB / 1.133 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/1.72, allocations: 23.98 kB / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/1.722, allocations: 1.544 MB / 1.134 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.722, allocations: 4.031 kB / 1.134 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.725, allocations: 1.051 MB / 1.135 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/1.725, allocations: 295.5 kB / 1.136 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.726, allocations: 24 kB / 1.136 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/1.727, allocations: 83.92 kB / 1.136 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.727, allocations: 72.89 kB / 1.136 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.727, allocations: 43.91 kB / 1.136 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007593/1.728, allocations: 459 kB / 1.136 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.728, allocations: 4 kB / 1.136 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001182/1.729, allocations: 319.2 kB / 1.137 GB, free: 5.559 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: 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.004155/1.733, allocations: 2.088 MB / 1.139 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.735, allocations: 0.8312 MB / 1.139 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.735, allocations: 192 / 1.139 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.736, allocations: 0.5393 MB / 1.14 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.738, allocations: 253.1 kB / 1.14 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.752, allocations: 5.646 MB / 1.146 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.753, allocations: 1.051 MB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001859/1.755, allocations: 278.8 kB / 1.147 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.756, allocations: 395.3 kB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of SimCode: time 1.913e-06/1.756, allocations: 0 / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07163/1.827, allocations: 21.7 MB / 1.169 GB, free: 5.195 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004353/1.828, allocations: 288 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/5.97, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 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