Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.001232/0.001233, allocations: 100.5 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.00151/0.00151, allocations: 177.3 kB / 15.94 MB, free: 228 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003688, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.6949, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003989/0.6989, allocations: 3.749 MB / 0.9572 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.8386, allocations: 127.7 MB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.8393, allocations: 15.88 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.8397, allocations: 71.33 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.841, allocations: 0.5207 MB / 1.083 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.8425, allocations: 0.6251 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009779/0.8435, allocations: 0.8494 MB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006257/0.8441, allocations: 495.3 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.8446, allocations: 366.5 kB / 1.085 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.845, allocations: 367.3 kB / 1.085 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.8451, allocations: 28 kB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.8457, allocations: 315.6 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.846, allocations: 195.2 kB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.8461, allocations: 197.1 kB / 1.086 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.8474, allocations: 1.192 MB / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.8474, allocations: 0 / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8474, allocations: 0 / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.8474, allocations: 0 / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002428/0.8498, allocations: 1.261 MB / 1.088 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8499, allocations: 12.03 kB / 1.088 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.8501, allocations: 139.5 kB / 1.088 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.851, allocations: 202.4 kB / 1.089 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.8521, allocations: 0.735 MB / 1.089 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.8522, allocations: 66 kB / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.8523, allocations: 87.98 kB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.8538, allocations: 0.9573 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.8539, allocations: 3.953 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.854, allocations: 36 kB / 1.09 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.854, allocations: 20 kB / 1.09 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.8559, allocations: 1.171 MB / 1.092 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004599/0.8605, allocations: 2.687 MB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.8621, allocations: 0.8608 MB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.8622, allocations: 32.69 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.8631, allocations: 0.5275 MB / 1.096 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=88): time 3.827e-06/0.8631, allocations: 4 kB / 1.096 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88): time 0.003112/0.8663, allocations: 1.293 MB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.8664, allocations: 192.9 kB / 1.097 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000811/0.8672, allocations: 0.6528 MB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.8673, allocations: 41.7 kB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.8676, allocations: 408.3 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.8678, allocations: 280 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.8678, allocations: 20 kB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.868, allocations: 394.7 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.8685, allocations: 269.8 kB / 1.099 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.8692, allocations: 382.5 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.8697, allocations: 314.9 kB / 1.1 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.8698, allocations: 4 kB / 1.1 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001841/0.8716, allocations: 0.8721 MB / 1.101 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8716, allocations: 8.922 kB / 1.101 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8717, allocations: 7.938 kB / 1.101 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.8722, allocations: 80.84 kB / 1.101 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.873, allocations: 179.7 kB / 1.101 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.8749, allocations: 1.54 MB / 1.102 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.8757, allocations: 106.8 kB / 1.102 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.8758, allocations: 36.03 kB / 1.102 GB, free: 6.824 MB / 0.8575 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 (97): * Single equations (assignments): 96 * 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.0004421/0.8762, allocations: 273.4 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.8764, allocations: 98.86 kB / 1.103 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.8791, allocations: 1.187 MB / 1.104 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.8792, allocations: 12 kB / 1.104 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.8792, allocations: 0 / 1.104 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8792, allocations: 3.984 kB / 1.104 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.8803, allocations: 0.9384 MB / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8803, allocations: 0 / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.881, allocations: 163.8 kB / 1.105 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.8815, allocations: 84.77 kB / 1.105 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.8816, allocations: 31.97 kB / 1.105 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.8832, allocations: 1.544 MB / 1.107 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8832, allocations: 4 kB / 1.107 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.8851, allocations: 1.006 MB / 1.108 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.8855, allocations: 299.5 kB / 1.108 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8856, allocations: 24 kB / 1.108 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.8863, allocations: 83.92 kB / 1.108 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.8865, allocations: 80.77 kB / 1.108 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.8865, allocations: 43.92 kB / 1.108 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005335/0.8871, allocations: 475 kB / 1.109 GB, free: 256 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8871, allocations: 4 kB / 1.109 GB, free: 252 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007844/0.8879, allocations: 327.2 kB / 1.109 GB, free: 15.92 MB / 0.8731 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.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.003164/0.8911, allocations: 2.044 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.8926, allocations: 0.8586 MB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.8926, allocations: 4.188 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.8936, allocations: 0.5509 MB / 1.112 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.8945, allocations: 246.6 kB / 1.113 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.9041, allocations: 5.754 MB / 1.118 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.9047, allocations: 1.067 MB / 1.119 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008143/0.9055, allocations: 267.1 kB / 1.119 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.9061, allocations: 415.2 kB / 1.12 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/0.9061, allocations: 0 / 1.12 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.9442, allocations: 22.15 MB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.9445, allocations: 289 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.245, allocations: 8 kB / 1.142 GB, free: 14.61 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat