Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 184.8 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009017/0.0009018, allocations: 95.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.843e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2645, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.976/5.24, allocations: 1.732 GB / 2.945 GB, free: 118.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/5.241, allocations: 86.33 kB / 2.945 GB, free: 118.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2121/5.453, allocations: 94.37 MB / 3.037 GB, free: 29.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.283e-06/5.453, allocations: 0 / 3.037 GB, free: 29.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000146/5.453, allocations: 32 kB / 3.037 GB, free: 29.47 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003886/5.457, allocations: 1.397 MB / 3.038 GB, free: 28.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/5.457, allocations: 16.02 kB / 3.038 GB, free: 28.01 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000623/5.458, allocations: 211 kB / 3.039 GB, free: 27.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/5.459, allocations: 249.8 kB / 3.039 GB, free: 27.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/5.461, allocations: 0.7677 MB / 3.04 GB, free: 26.74 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/5.461, allocations: 106.8 kB / 3.04 GB, free: 26.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/5.462, allocations: 136 kB / 3.04 GB, free: 26.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/5.465, allocations: 1.378 MB / 3.041 GB, free: 25.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/5.465, allocations: 3.938 kB / 3.041 GB, free: 25.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/5.465, allocations: 56 kB / 3.041 GB, free: 25.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/5.465, allocations: 47.89 kB / 3.041 GB, free: 24.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/5.467, allocations: 1.447 MB / 3.043 GB, free: 23.51 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/5.475, allocations: 3.834 MB / 3.046 GB, free: 19.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/5.476, allocations: 0.911 MB / 3.047 GB, free: 18.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/5.477, allocations: 375.8 kB / 3.048 GB, free: 18.31 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/5.477, allocations: 49.06 kB / 3.048 GB, free: 18.26 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009253/5.478, allocations: 0.5593 MB / 3.048 GB, free: 17.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.248e-06/5.478, allocations: 0 / 3.048 GB, free: 17.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002332/5.48, allocations: 0.9619 MB / 3.049 GB, free: 16.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/5.48, allocations: 244.3 kB / 3.049 GB, free: 16.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/5.481, allocations: 0.731 MB / 3.05 GB, free: 15.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/5.482, allocations: 45.7 kB / 3.05 GB, free: 15.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/5.482, allocations: 0.5544 MB / 3.051 GB, free: 15.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/5.482, allocations: 350.9 kB / 3.051 GB, free: 14.72 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/5.482, allocations: 20 kB / 3.051 GB, free: 14.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001187/5.483, allocations: 337.9 kB / 3.051 GB, free: 14.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/5.483, allocations: 317.9 kB / 3.052 GB, free: 14.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/5.484, allocations: 443.5 kB / 3.052 GB, free: 13.59 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/5.484, allocations: 388.8 kB / 3.052 GB, free: 13.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/5.484, allocations: 0 / 3.052 GB, free: 13.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001985/5.486, allocations: 1.02 MB / 3.053 GB, free: 12.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/5.486, allocations: 4 kB / 3.053 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/5.486, allocations: 8.062 kB / 3.053 GB, free: 12.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/5.487, allocations: 84.84 kB / 3.054 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/5.488, allocations: 211.7 kB / 3.054 GB, free: 11.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/5.49, allocations: 1.533 MB / 3.055 GB, free: 10.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/5.491, allocations: 115.1 kB / 3.055 GB, free: 10.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/5.491, allocations: 39.91 kB / 3.055 GB, free: 10.05 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0002666/5.491, allocations: 170.1 kB / 3.056 GB, free: 9.879 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/5.491, allocations: 102.7 kB / 3.056 GB, free: 9.777 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/5.494, allocations: 1.36 MB / 3.057 GB, free: 8.402 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/5.494, allocations: 19.94 kB / 3.057 GB, free: 8.383 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/5.494, allocations: 0 / 3.057 GB, free: 8.383 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/5.494, allocations: 3.984 kB / 3.057 GB, free: 8.379 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/5.499, allocations: 2.571 MB / 3.06 GB, free: 5.746 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/5.499, allocations: 0 / 3.06 GB, free: 5.746 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/5.5, allocations: 191.8 kB / 3.06 GB, free: 5.559 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/5.5, allocations: 88.7 kB / 3.06 GB, free: 5.469 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/5.5, allocations: 31.92 kB / 3.06 GB, free: 5.438 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/5.502, allocations: 1.56 MB / 3.061 GB, free: 3.738 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/5.502, allocations: 0 / 3.061 GB, free: 3.738 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/5.504, allocations: 1.125 MB / 3.062 GB, free: 2.594 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/5.505, allocations: 363.2 kB / 3.063 GB, free: 2.219 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/5.505, allocations: 27.95 kB / 3.063 GB, free: 2.191 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/5.506, allocations: 67.95 kB / 3.063 GB, free: 2.125 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/5.506, allocations: 80.88 kB / 3.063 GB, free: 2.043 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/5.507, allocations: 36.12 kB / 3.063 GB, free: 2.008 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001033/5.508, allocations: 0.6163 MB / 3.064 GB, free: 1.395 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/5.508, allocations: 4 kB / 3.064 GB, free: 1.391 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001733/5.509, allocations: 474.5 kB / 3.064 GB, free: 0.9258 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.941/6.45, allocations: 2.593 MB / 3.067 GB, free: 382.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002662/6.453, allocations: 0.9563 MB / 3.068 GB, free: 382.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/6.453, allocations: 0.625 kB / 3.068 GB, free: 382.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/6.454, allocations: 0.588 MB / 3.068 GB, free: 382.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/6.456, allocations: 261.4 kB / 3.068 GB, free: 382.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/6.463, allocations: 2.118 MB / 3.07 GB, free: 381.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/6.464, allocations: 1.194 MB / 3.072 GB, free: 381.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001343/6.466, allocations: 303.1 kB / 3.072 GB, free: 381.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/6.467, allocations: 0.5371 MB / 3.072 GB, free: 381.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.395e-06/6.467, allocations: 1.062 kB / 3.072 GB, free: 381.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09544/6.562, allocations: 37.31 MB / 3.109 GB, free: 379.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/6.562, allocations: 241.8 kB / 3.109 GB, free: 378.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/9.848, allocations: 0 / 3.109 GB, free: 378.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat