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.357/2.357, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001008/0.001007, allocations: 184.5 kB / 487.4 MB, free: 5.055 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.437/1.437, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0009154/0.0009153, allocations: 103.6 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.118e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.201, allocations: 149.2 MB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.201, allocations: 77.62 kB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004593/1.206, allocations: 1.418 MB / 1.353 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/1.206, allocations: 0 / 1.353 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.206, allocations: 0 / 1.353 GB, free: 34.17 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.0002919/1.206, allocations: 347.5 kB / 1.354 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.206, allocations: 8.297 kB / 1.354 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/1.206, allocations: 7.75 kB / 1.354 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/1.206, allocations: 174.7 kB / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.206, allocations: 1.25 kB / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/1.206, allocations: 1.312 kB / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.921e-05/1.206, allocations: 9.828 kB / 1.354 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/1.206, allocations: 34.17 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/1.206, allocations: 0 / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.206, allocations: 1.906 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.206, allocations: 0.75 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/1.207, allocations: 242 kB / 1.354 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/1.207, allocations: 29.7 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/1.207, allocations: 11.36 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/1.207, allocations: 469.5 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/1.207, allocations: 31.45 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.207, allocations: 0 / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.003259/1.211, allocations: 0.5522 MB / 1.355 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/1.211, allocations: 55.86 kB / 1.355 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/1.211, allocations: 102.7 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/1.211, allocations: 25.7 kB / 1.355 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/1.211, allocations: 88.66 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/1.211, allocations: 7.859 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/1.211, allocations: 1.531 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/1.211, allocations: 316.7 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/1.211, allocations: 7.5 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/1.211, allocations: 7.781 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.214, allocations: 0.5089 MB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.214, allocations: 3.969 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003136/1.217, allocations: 0.5455 MB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.217, allocations: 3.875 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.217, allocations: 0.9688 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.217, allocations: 3.969 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/1.217, allocations: 5.859 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.217, allocations: 0 / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/1.217, allocations: 4.562 kB / 1.357 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/1.217, allocations: 4.734 kB / 1.357 GB, free: 32.01 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 6.694e-05/1.217, allocations: 111.4 kB / 1.357 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003088/1.221, allocations: 0.5505 MB / 1.357 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.221, allocations: 0.75 kB / 1.357 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.224, allocations: 0.5565 MB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.224, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.224, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.224, allocations: 10.3 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.224, allocations: 143.7 kB / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.224, allocations: 0 / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/1.224, allocations: 5.984 kB / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.224, allocations: 3.906 kB / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.224, allocations: 3.719 kB / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.224, allocations: 0 / 1.358 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.224, allocations: 3.938 kB / 1.358 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/1.227, allocations: 0.6527 MB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/1.227, allocations: 77.86 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.227, allocations: 0.7969 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/1.227, allocations: 4.641 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/1.227, allocations: 4.828 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/1.227, allocations: 6.828 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.342e-05/1.227, allocations: 83.92 kB / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.227, allocations: 0 / 1.359 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002488/1.228, allocations: 24.06 kB / 1.359 GB, free: 31.22 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.003512/1.231, allocations: 1.202 MB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.231, allocations: 18.12 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.231, allocations: 0 / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.009e-05/1.231, allocations: 7.938 kB / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/1.232, allocations: 0 / 1.36 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/1.232, allocations: 104.4 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.232, allocations: 0.6854 MB / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.872e-05/1.232, allocations: 3.969 kB / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/1.232, allocations: 10.53 kB / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.232, allocations: 3.938 kB / 1.361 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/1.252, allocations: 1.032 MB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.252, allocations: 132.3 kB / 1.362 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/2.71, allocations: 4.547 kB / 1.362 GB, free: 29.42 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