Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",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.054/2.054, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009298/0.0009298, allocations: 184.8 kB / 487.4 MB, free: 5.078 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.33/1.33, allocations: 221.5 MB / 0.7824 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 99.84 kB / 0.9219 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.448e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.753/3.953, allocations: 1.735 GB / 2.941 GB, free: 133.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/3.953, allocations: 90.53 kB / 2.941 GB, free: 133.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2361/4.189, allocations: 118.1 MB / 3.056 GB, free: 21.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/4.189, allocations: 0 / 3.056 GB, free: 21.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.898e-05/4.189, allocations: 55.94 kB / 3.057 GB, free: 21.52 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.003493/4.193, allocations: 2.221 MB / 3.059 GB, free: 19.24 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/4.193, allocations: 12.56 kB / 3.059 GB, free: 19.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/4.204, allocations: 1.94 MB / 3.061 GB, free: 17.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/4.206, allocations: 1.332 MB / 3.062 GB, free: 15.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/4.206, allocations: 80 kB / 3.062 GB, free: 15.82 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/4.207, allocations: 140 kB / 3.062 GB, free: 15.69 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004537/4.211, allocations: 3.411 MB / 3.065 GB, free: 12.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/4.215, allocations: 2.699 MB / 3.068 GB, free: 9.492 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/4.215, allocations: 0 / 3.068 GB, free: 9.492 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/4.215, allocations: 4 kB / 3.068 GB, free: 9.488 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/4.215, allocations: 64 kB / 3.068 GB, free: 9.426 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/4.228, allocations: 8.39 MB / 3.076 GB, free: 0.9609 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.523/4.751, allocations: 2.241 MB / 3.079 GB, free: 373.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/4.754, allocations: 1.18 MB / 3.08 GB, free: 373.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008852/4.755, allocations: 0.5132 MB / 3.08 GB, free: 373 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003421/4.758, allocations: 1.468 MB / 3.082 GB, free: 372.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 9.007e-06/4.758, allocations: 0.7188 kB / 3.082 GB, free: 372.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.01526/4.773, allocations: 4.048 MB / 3.086 GB, free: 372.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/4.773, allocations: 256.8 kB / 3.086 GB, free: 372.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/4.775, allocations: 0.7701 MB / 3.087 GB, free: 372.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00043/4.776, allocations: 30.05 kB / 3.087 GB, free: 372.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/4.777, allocations: 0.8363 MB / 3.087 GB, free: 372.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008936/4.777, allocations: 0.6877 MB / 3.088 GB, free: 371.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/4.778, allocations: 1.75 kB / 3.088 GB, free: 371.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001557/4.778, allocations: 382.8 kB / 3.088 GB, free: 371.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/4.78, allocations: 0.9344 MB / 3.089 GB, free: 371.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/4.782, allocations: 1.119 MB / 3.09 GB, free: 371.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/4.792, allocations: 2.68 MB / 3.093 GB, free: 371.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/4.792, allocations: 0 / 3.093 GB, free: 371.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01422/4.806, allocations: 4.118 MB / 3.097 GB, free: 371.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/4.806, allocations: 6.844 kB / 3.097 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/4.806, allocations: 2.688 kB / 3.097 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/4.807, allocations: 86.41 kB / 3.097 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/4.811, allocations: 0.623 MB / 3.098 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/4.812, allocations: 1.464 MB / 3.099 GB, free: 369.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/4.815, allocations: 304.9 kB / 3.1 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/4.816, allocations: 98.34 kB / 3.1 GB, free: 369.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (239): * Single equations (assignments): 238 * 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.0006741/4.817, allocations: 138.7 kB / 3.1 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01377/4.83, allocations: 4.051 MB / 3.104 GB, free: 369.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/4.831, allocations: 147 kB / 3.104 GB, free: 369.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/4.847, allocations: 4.758 MB / 3.109 GB, free: 369.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/4.847, allocations: 23.81 kB / 3.109 GB, free: 369.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/4.847, allocations: 0.5156 kB / 3.109 GB, free: 369.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/4.847, allocations: 14.98 kB / 3.109 GB, free: 369.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/4.866, allocations: 7.417 MB / 3.116 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/4.866, allocations: 0 / 3.116 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/4.869, allocations: 0.5981 MB / 3.116 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/4.87, allocations: 87.8 kB / 3.116 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/4.87, allocations: 50.84 kB / 3.116 GB, free: 368.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/4.871, allocations: 1.48 MB / 3.118 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/4.871, allocations: 0 / 3.118 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/4.883, allocations: 4.225 MB / 3.122 GB, free: 366.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/4.884, allocations: 0.6596 MB / 3.123 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/4.885, allocations: 6.906 kB / 3.123 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/4.888, allocations: 226.2 kB / 3.123 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/4.888, allocations: 153.4 kB / 3.123 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/4.888, allocations: 88.56 kB / 3.123 GB, free: 366.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001217/4.889, allocations: 0.6594 MB / 3.124 GB, free: 365.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/4.889, allocations: 0 / 3.124 GB, free: 365.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002728/4.892, allocations: 0.6853 MB / 3.124 GB, free: 365.7 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 (240): * Single equations (assignments): 237 * 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.01408/4.906, allocations: 5.794 MB / 3.13 GB, free: 363.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004004/4.91, allocations: 2.482 MB / 3.133 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/4.91, allocations: 0 / 3.133 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/4.912, allocations: 1.428 MB / 3.134 GB, free: 362 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/4.914, allocations: 251.1 kB / 3.134 GB, free: 361.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00814/4.922, allocations: 3.652 MB / 3.138 GB, free: 360.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/4.923, allocations: 1.541 MB / 3.139 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003564/4.927, allocations: 0.5854 MB / 3.14 GB, free: 359.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/4.928, allocations: 0.9624 MB / 3.141 GB, free: 358.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/4.928, allocations: 3.828 kB / 3.141 GB, free: 358.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07606/5.004, allocations: 47.89 MB / 3.188 GB, free: 342.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/5.005, allocations: 205 kB / 3.188 GB, free: 342 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/9.537, allocations: 0 / 3.188 GB, free: 342 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat does not exist to compare? outputFormat=mat