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 1.991/1.991, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001047/0.001047, allocations: 184.1 kB / 492.3 MB, free: 0.6406 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.269/1.269, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008136/0.0008136, allocations: 95.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.292e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2119, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7647/0.9766, allocations: 149.9 MB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.9769, allocations: 71.55 kB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004273/0.9811, allocations: 1.425 MB / 1.36 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9812, allocations: 4 kB / 1.36 GB, free: 34.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.9812, allocations: 3.938 kB / 1.36 GB, free: 34.62 MB / 0.8386 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.0002737/0.9815, allocations: 348.2 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9815, allocations: 11.66 kB / 1.361 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.9816, allocations: 33.66 kB / 1.361 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.9816, allocations: 3.906 kB / 1.361 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.9817, allocations: 166.9 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.9817, allocations: 0 / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.9817, allocations: 11.22 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.9818, allocations: 39.91 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9818, allocations: 0 / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.9818, allocations: 0 / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9818, allocations: 0 / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.857e-05/0.9819, allocations: 18.19 kB / 1.361 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.9822, allocations: 257.6 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.952e-05/0.9823, allocations: 32.62 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.9823, allocations: 11.92 kB / 1.361 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.9828, allocations: 468.4 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.9828, allocations: 30.56 kB / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9828, allocations: 0 / 1.362 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001277/0.983, allocations: 52.05 kB / 1.362 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.983, allocations: 54.36 kB / 1.362 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.9831, allocations: 101.1 kB / 1.362 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.9831, allocations: 25.7 kB / 1.362 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.9831, allocations: 95.53 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.9831, allocations: 3.906 kB / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.9831, allocations: 0 / 1.362 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.9832, allocations: 314.7 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.9832, allocations: 3.938 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.9832, allocations: 5.156 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.9833, allocations: 7.406 kB / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.9833, allocations: 0 / 1.362 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.105e-05/0.9833, allocations: 52.78 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.9834, allocations: 9.469 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9834, allocations: 0 / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.9834, allocations: 0 / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.9835, allocations: 5.031 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9835, allocations: 2 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.9835, allocations: 3.844 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.9835, allocations: 5.266 kB / 1.362 GB, free: 32.49 MB / 0.8386 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 () * 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 5.12e-05/0.9836, allocations: 111 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.9836, allocations: 3.906 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.9837, allocations: 56.31 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9837, allocations: 7.781 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9837, allocations: 0 / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9837, allocations: 0 / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.9839, allocations: 166 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9839, allocations: 0 / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.9839, allocations: 9.734 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9839, allocations: 4.031 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.9839, allocations: 1.5 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.984, allocations: 3.938 kB / 1.363 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.984, allocations: 3.984 kB / 1.363 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.9841, allocations: 145.9 kB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.9841, allocations: 81.02 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.9841, allocations: 1.438 kB / 1.363 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.9842, allocations: 9.516 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.9842, allocations: 5.391 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9842, allocations: 0 / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.9842, allocations: 88.19 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9842, allocations: 0 / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002104/0.9845, allocations: 28.73 kB / 1.363 GB, free: 31.8 MB / 0.8386 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 () * 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.0003445/0.9848, allocations: 0.695 MB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.19e-05/0.9849, allocations: 15.19 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9849, allocations: 0 / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.9849, allocations: 10.75 kB / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.9851, allocations: 0 / 1.364 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.9854, allocations: 107.3 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.9856, allocations: 0.6857 MB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.9857, allocations: 1.641 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.9857, allocations: 15.09 kB / 1.365 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/0.9857, allocations: 0 / 1.365 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.9969, allocations: 1.34 MB / 1.366 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.9971, allocations: 147.9 kB / 1.366 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.362/2.359, allocations: 0 / 1.366 GB, free: 29.9 MB / 0.8386 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