Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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 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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001363/0.001363, allocations: 99.62 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.0026/0.002601, 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.839/2.839, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.555/4.555, allocations: 409.2 MB / 0.6838 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004825, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316/1.317, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007571/1.324, allocations: 4.565 MB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2574/1.582, allocations: 128.1 MB / 1.11 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/1.583, allocations: 19.88 kB / 1.11 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/1.584, allocations: 103 kB / 1.11 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/1.587, allocations: 0.6478 MB / 1.111 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/1.589, allocations: 0.7153 MB / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002853/1.592, allocations: 1.165 MB / 1.113 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/1.594, allocations: 0.836 MB / 1.114 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/1.596, allocations: 0.5561 MB / 1.114 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/1.598, allocations: 0.5673 MB / 1.115 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003026/1.598, allocations: 44 kB / 1.115 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/1.6, allocations: 323.6 kB / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/1.601, allocations: 270.8 kB / 1.115 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006142/1.601, allocations: 304.7 kB / 1.116 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/1.604, allocations: 1.796 MB / 1.118 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.604, allocations: 0 / 1.118 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.516e-06/1.604, allocations: 0 / 1.118 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.668e-05/1.604, allocations: 4 kB / 1.118 GB, free: 9.918 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.006039/1.611, allocations: 1.7 MB / 1.119 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/1.611, allocations: 11.98 kB / 1.119 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006927/1.611, allocations: 219.9 kB / 1.119 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/1.613, allocations: 277.5 kB / 1.12 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/1.616, allocations: 0.9304 MB / 1.121 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/1.616, allocations: 119 kB / 1.121 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/1.616, allocations: 152 kB / 1.121 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/1.621, allocations: 1.561 MB / 1.122 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/1.621, allocations: 4 kB / 1.122 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/1.622, allocations: 60 kB / 1.122 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/1.622, allocations: 40 kB / 1.122 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005424/1.627, allocations: 1.631 MB / 1.124 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/1.641, allocations: 4.181 MB / 1.128 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003962/1.645, allocations: 1.188 MB / 1.129 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/1.645, allocations: 50.05 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002401/1.648, allocations: 0.7782 MB / 1.13 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 5.01e-06/1.648, allocations: 0 / 1.13 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.008163/1.656, allocations: 1.839 MB / 1.132 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/1.656, allocations: 197.2 kB / 1.132 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/1.659, allocations: 0.8576 MB / 1.133 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/1.659, allocations: 53.69 kB / 1.133 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008978/1.66, allocations: 0.6131 MB / 1.134 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007137/1.661, allocations: 410.1 kB / 1.134 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.661, allocations: 24 kB / 1.134 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.661, allocations: 349.9 kB / 1.134 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.663, allocations: 426.4 kB / 1.135 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/1.664, allocations: 0.5565 MB / 1.135 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.666, allocations: 478.3 kB / 1.136 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.666, allocations: 0 / 1.136 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005629/1.672, allocations: 1.301 MB / 1.137 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/1.672, allocations: 4 kB / 1.137 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.672, allocations: 0 / 1.137 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/1.673, allocations: 84.84 kB / 1.137 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/1.676, allocations: 259.6 kB / 1.137 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/1.68, allocations: 1.548 MB / 1.139 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/1.682, allocations: 164.3 kB / 1.139 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/1.683, allocations: 51.95 kB / 1.139 GB, free: 3.285 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: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.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,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.001757/1.685, allocations: 348.9 kB / 1.139 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.685, allocations: 118.6 kB / 1.14 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/1.693, allocations: 1.729 MB / 1.141 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/1.693, allocations: 20 kB / 1.141 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.693, allocations: 0 / 1.141 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.415e-05/1.693, allocations: 11.92 kB / 1.141 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/1.698, allocations: 1.412 MB / 1.143 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.698, allocations: 0 / 1.143 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.7, allocations: 215.7 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/1.701, allocations: 96.69 kB / 1.143 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/1.701, allocations: 35.97 kB / 1.143 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/1.705, allocations: 1.579 MB / 1.144 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.705, allocations: 7.953 kB / 1.144 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/1.711, allocations: 1.398 MB / 1.146 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/1.713, allocations: 414.7 kB / 1.146 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.713, allocations: 28 kB / 1.146 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/1.715, allocations: 111.9 kB / 1.146 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/1.715, allocations: 109.1 kB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.715, allocations: 59.95 kB / 1.147 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001795/1.717, allocations: 0.6386 MB / 1.147 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.41e-07/1.717, allocations: 0 / 1.147 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002098/1.719, allocations: 454.6 kB / 1.148 GB, free: 10.27 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.007111/1.726, allocations: 2.475 MB / 1.15 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003583/1.73, allocations: 1.228 MB / 1.151 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.73, allocations: 4 kB / 1.151 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.732, allocations: 0.748 MB / 1.152 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.734, allocations: 265.8 kB / 1.152 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.76, allocations: 8.2 MB / 1.16 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.762, allocations: 1.272 MB / 1.161 GB, free: 11.91 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002431/1.764, allocations: 329.9 kB / 1.162 GB, free: 11.58 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.766, allocations: 0.6203 MB / 1.162 GB, free: 10.96 MB / 0.92 GB Notification: Performance of SimCode: time 2.945e-06/1.766, allocations: 0 / 1.162 GB, free: 10.96 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.883, allocations: 29.98 MB / 1.192 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004478/1.884, allocations: 289 kB / 1.192 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.595/6.478, allocations: 0 / 1.192 GB, free: 13.05 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat