Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.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.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit",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.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001101/0.0011, allocations: 179 kB / 498.1 MB, free: 5.762 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.657/1.657, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001077/0.001077, allocations: 96.33 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004071, allocations: 12.5 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3437, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.5471, allocations: 150 MB / 1.369 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5475, allocations: 75.95 kB / 1.369 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004705/0.5523, allocations: 1.429 MB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5523, allocations: 0 / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5523, allocations: 0 / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004469/0.5528, allocations: 359.2 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5528, allocations: 8.031 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.5529, allocations: 30.56 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.5529, allocations: 11.86 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.5531, allocations: 167 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5531, allocations: 4 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.5531, allocations: 4 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.5533, allocations: 45.69 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5533, allocations: 3.938 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5533, allocations: 4 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5533, allocations: 4 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.5534, allocations: 23.92 kB / 1.372 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.5539, allocations: 252.9 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.554, allocations: 38.52 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.5548, allocations: 473.5 kB / 1.372 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5548, allocations: 30.56 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.5548, allocations: 0 / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002767/0.5551, allocations: 73.56 kB / 1.372 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5552, allocations: 67.42 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.5553, allocations: 93 kB / 1.372 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.5553, allocations: 29.7 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.5553, allocations: 92.11 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.5554, allocations: 7.844 kB / 1.373 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5554, allocations: 4 kB / 1.373 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5555, allocations: 314.8 kB / 1.373 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.5556, allocations: 7.984 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.5556, allocations: 16 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.5557, allocations: 11.98 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5557, allocations: 0 / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001331/0.5558, allocations: 57.69 kB / 1.373 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5559, allocations: 8 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5559, allocations: 4.094 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5559, allocations: 0 / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.556, allocations: 11.92 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.556, allocations: 0 / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.556, allocations: 7.953 kB / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.5561, allocations: 0 / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/0.5561, allocations: 109.8 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.5562, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.5564, allocations: 73.11 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5564, allocations: 4 kB / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5564, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5564, allocations: 0 / 1.373 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.5566, allocations: 161.6 kB / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5567, allocations: 3.938 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.746e-05/0.5567, allocations: 8 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5567, allocations: 4.031 kB / 1.373 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5567, allocations: 7.984 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5567, allocations: 3.938 kB / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5567, allocations: 0 / 1.373 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.5569, allocations: 151.5 kB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.557, allocations: 77.11 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.557, allocations: 4.031 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.5571, allocations: 11.92 kB / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.5571, allocations: 0 / 1.374 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5571, allocations: 4 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.5572, allocations: 87.58 kB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5572, allocations: 0 / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002575/0.5575, allocations: 27.94 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/0.5581, allocations: 0.7121 MB / 1.374 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.5582, allocations: 23.98 kB / 1.374 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5583, allocations: 4.094 kB / 1.374 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.5583, allocations: 15.98 kB / 1.374 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.5585, allocations: 0 / 1.374 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.559, allocations: 182.1 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.5593, allocations: 0.6849 MB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.5593, allocations: 4 kB / 1.375 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.5594, allocations: 15.42 kB / 1.375 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.5594, allocations: 0 / 1.375 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.5763, allocations: 1.334 MB / 1.377 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.5767, allocations: 169.4 kB / 1.377 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.134, allocations: 0 / 1.377 GB, free: 4.008 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat does not exist to compare? outputFormat=mat