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.0008629/0.0008627, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008019/0.0008019, allocations: 168.7 kB / 15.95 MB, free: 204 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.379/1.379, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.591/2.591, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003299, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7954, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007499/0.8029, allocations: 4.717 MB / 0.9857 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1558/0.9588, allocations: 137.3 MB / 1.12 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.9597, allocations: 15.94 kB / 1.12 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.9604, allocations: 154.6 kB / 1.12 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.9623, allocations: 0.5621 MB / 1.121 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.9643, allocations: 0.7201 MB / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.9662, allocations: 1.643 MB / 1.123 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.9674, allocations: 0.8321 MB / 1.124 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.9683, allocations: 0.5365 MB / 1.124 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.9692, allocations: 0.5867 MB / 1.125 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.9694, allocations: 40 kB / 1.125 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.9703, allocations: 351.6 kB / 1.125 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.9706, allocations: 282.6 kB / 1.125 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.9709, allocations: 288.8 kB / 1.126 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.9726, allocations: 1.808 MB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9727, allocations: 0 / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9727, allocations: 0 / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.177e-05/0.9727, allocations: 0 / 1.127 GB, free: 15.98 MB / 0.8887 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.003537/0.9763, allocations: 1.701 MB / 1.129 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9763, allocations: 11.98 kB / 1.129 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003471/0.9767, allocations: 231.8 kB / 1.129 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9777, allocations: 265.6 kB / 1.13 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.9791, allocations: 0.9266 MB / 1.13 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.9793, allocations: 127 kB / 1.131 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.9795, allocations: 152 kB / 1.131 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.9822, allocations: 1.572 MB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.9822, allocations: 4 kB / 1.132 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.9824, allocations: 67.98 kB / 1.132 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.9824, allocations: 47.94 kB / 1.132 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.9852, allocations: 1.627 MB / 1.134 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.9923, allocations: 4.17 MB / 1.138 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.9945, allocations: 1.191 MB / 1.139 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.9954, allocations: 472.7 kB / 1.14 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.9955, allocations: 53.06 kB / 1.14 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.9969, allocations: 0.7821 MB / 1.14 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 3.046e-06/0.9969, allocations: 0 / 1.14 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.004167/1.001, allocations: 1.834 MB / 1.142 GB, free: 472 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.001, allocations: 201.2 kB / 1.142 GB, free: 224 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.003, allocations: 0.8654 MB / 1.143 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.94e-05/1.003, allocations: 49.7 kB / 1.143 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/1.003, allocations: 0.6092 MB / 1.144 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/1.004, allocations: 410.1 kB / 1.144 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/1.004, allocations: 20 kB / 1.144 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.004, allocations: 349.9 kB / 1.145 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/1.005, allocations: 430.4 kB / 1.145 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/1.005, allocations: 0.5565 MB / 1.146 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/1.006, allocations: 490.3 kB / 1.146 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.006, allocations: 0 / 1.146 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00253/1.009, allocations: 1.293 MB / 1.147 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.009, allocations: 8.094 kB / 1.147 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.009, allocations: 0 / 1.147 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/1.009, allocations: 84.78 kB / 1.147 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.01, allocations: 255.6 kB / 1.148 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.012, allocations: 1.532 MB / 1.149 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/1.013, allocations: 156.4 kB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/1.013, allocations: 55.95 kB / 1.149 GB, free: 8.875 MB / 0.9044 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.0006285/1.014, allocations: 352.2 kB / 1.15 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/1.014, allocations: 114.6 kB / 1.15 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/1.018, allocations: 1.733 MB / 1.152 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.018, allocations: 16 kB / 1.152 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.018, allocations: 3.953 kB / 1.152 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.018, allocations: 15.91 kB / 1.152 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/1.019, allocations: 1.42 MB / 1.153 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.019, allocations: 0 / 1.153 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008642/1.02, allocations: 219.6 kB / 1.153 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/1.021, allocations: 88.77 kB / 1.153 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/1.021, allocations: 35.97 kB / 1.153 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/1.022, allocations: 1.56 MB / 1.155 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.022, allocations: 0 / 1.155 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/1.025, allocations: 1.406 MB / 1.156 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/1.026, allocations: 410.7 kB / 1.157 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.026, allocations: 28 kB / 1.157 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/1.027, allocations: 111.9 kB / 1.157 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.027, allocations: 113.1 kB / 1.157 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/1.027, allocations: 55.95 kB / 1.157 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008369/1.028, allocations: 0.6386 MB / 1.158 GB, free: 328 kB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.028, allocations: 0 / 1.158 GB, free: 328 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001062/1.029, allocations: 454.7 kB / 1.158 GB, free: 15.87 MB / 0.92 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.003912/1.033, allocations: 2.487 MB / 1.16 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.035, allocations: 1.228 MB / 1.162 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.035, allocations: 0 / 1.162 GB, free: 12.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.036, allocations: 0.7439 MB / 1.162 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.037, allocations: 293.8 kB / 1.163 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.051, allocations: 7.798 MB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/1.051, allocations: 1.237 MB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001093/1.053, allocations: 329.9 kB / 1.172 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008466/1.053, allocations: 0.6241 MB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/1.053, allocations: 0 / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.354/1.407, allocations: 30.03 MB / 1.202 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.408, allocations: 283.5 kB / 1.202 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.513, allocations: 4 kB / 1.202 GB, free: 3.023 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