Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002102/0.002101, allocations: 100.2 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.002471/0.002471, 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.712/2.712, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.912/3.912, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006238/0.0006241, allocations: 11.98 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461/1.462, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007705/1.47, allocations: 3.724 MB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2584/1.728, allocations: 127.6 MB / 1.109 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.73, allocations: 15.88 kB / 1.109 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/1.731, allocations: 75.33 kB / 1.109 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/1.734, allocations: 0.5082 MB / 1.11 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/1.738, allocations: 0.6391 MB / 1.11 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003119/1.741, allocations: 0.8416 MB / 1.111 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/1.742, allocations: 483.4 kB / 1.112 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.743, allocations: 358.5 kB / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008232/1.744, allocations: 355.2 kB / 1.112 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/1.744, allocations: 24 kB / 1.112 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/1.746, allocations: 315.6 kB / 1.113 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003276/1.746, allocations: 191.2 kB / 1.113 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003756/1.746, allocations: 197.1 kB / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/1.749, allocations: 1.177 MB / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.749, allocations: 0 / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.378e-06/1.749, allocations: 4 kB / 1.114 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.747e-05/1.749, allocations: 0 / 1.114 GB, free: 13.55 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004113/1.753, allocations: 1.253 MB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.753, allocations: 8.031 kB / 1.115 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003818/1.754, allocations: 147.4 kB / 1.115 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.755, allocations: 190.4 kB / 1.116 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/1.758, allocations: 0.7234 MB / 1.116 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/1.758, allocations: 69.95 kB / 1.116 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/1.758, allocations: 84 kB / 1.116 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/1.761, allocations: 0.9379 MB / 1.117 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/1.761, allocations: 3.938 kB / 1.117 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.761, allocations: 36 kB / 1.117 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/1.762, allocations: 24 kB / 1.117 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/1.765, allocations: 1.128 MB / 1.119 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008207/1.773, allocations: 2.591 MB / 1.121 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/1.776, allocations: 0.9072 MB / 1.122 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.776, allocations: 36.67 kB / 1.122 GB, free: 5.191 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/1.778, allocations: 0.5215 MB / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 7.084e-06/1.778, allocations: 0 / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.005243/1.783, allocations: 1.267 MB / 1.124 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/1.783, allocations: 196.9 kB / 1.124 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.785, allocations: 0.6294 MB / 1.125 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.785, allocations: 41.7 kB / 1.125 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/1.786, allocations: 404.4 kB / 1.125 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/1.786, allocations: 272.1 kB / 1.125 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/1.786, allocations: 16 kB / 1.125 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002613/1.786, allocations: 386.7 kB / 1.126 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008669/1.787, allocations: 261.9 kB / 1.126 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/1.788, allocations: 371.4 kB / 1.126 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/1.789, allocations: 306.8 kB / 1.127 GB, free: 428 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.789, allocations: 0 / 1.127 GB, free: 428 kB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003284/1.793, allocations: 0.8486 MB / 1.127 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/1.793, allocations: 4 kB / 1.127 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.793, allocations: 4 kB / 1.127 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/1.794, allocations: 80.91 kB / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.795, allocations: 163.8 kB / 1.128 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/1.798, allocations: 1.544 MB / 1.129 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.799, allocations: 107.4 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.799, allocations: 27.98 kB / 1.129 GB, free: 13.49 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0008323/1.8, allocations: 269.7 kB / 1.13 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/1.801, allocations: 86.92 kB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/1.805, allocations: 1.148 MB / 1.131 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.805, allocations: 16 kB / 1.131 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.805, allocations: 0 / 1.131 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.805, allocations: 7.969 kB / 1.131 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/1.81, allocations: 2.032 MB / 1.133 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.811, allocations: 0 / 1.133 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/1.811, allocations: 155.8 kB / 1.133 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/1.812, allocations: 92.66 kB / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.812, allocations: 23.98 kB / 1.133 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/1.815, allocations: 1.564 MB / 1.134 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.815, allocations: 3.938 kB / 1.135 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/1.819, allocations: 1.058 MB / 1.136 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/1.82, allocations: 291.6 kB / 1.136 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/1.82, allocations: 24 kB / 1.136 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.821, allocations: 85.45 kB / 1.136 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/1.821, allocations: 76.88 kB / 1.136 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.821, allocations: 35.98 kB / 1.136 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001047/1.822, allocations: 463 kB / 1.136 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/1.822, allocations: 0 / 1.136 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00157/1.824, allocations: 311.3 kB / 1.137 GB, free: 5.523 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 (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.005691/1.83, allocations: 2.102 MB / 1.139 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.833, allocations: 0.8352 MB / 1.14 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.833, allocations: 0 / 1.14 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.834, allocations: 0.5511 MB / 1.14 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.836, allocations: 247.7 kB / 1.14 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/1.856, allocations: 5.802 MB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.857, allocations: 1.065 MB / 1.147 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001846/1.859, allocations: 282.8 kB / 1.147 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.86, allocations: 387.3 kB / 1.148 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.955e-06/1.86, allocations: 0 / 1.148 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07754/1.937, allocations: 21.73 MB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000441/1.938, allocations: 285.7 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/5.913, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat