Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",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.953/1.953, 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.0009055/0.0009055, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.258/1.258, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0007938/0.0007938, allocations: 96.41 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.782e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7644/0.9686, allocations: 148.9 MB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.9689, allocations: 80.22 kB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003559/0.9725, allocations: 1.175 MB / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9725, allocations: 0 / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9725, allocations: 0 / 1.359 GB, free: 34.66 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002807/0.9728, allocations: 351.2 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9728, allocations: 15.5 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.9729, allocations: 42.52 kB / 1.36 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.9729, allocations: 7.75 kB / 1.36 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.429e-05/0.973, allocations: 168.2 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.973, allocations: 0 / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.973, allocations: 3.844 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.9733, allocations: 164.8 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9733, allocations: 0 / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.9733, allocations: 3.594 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.9734, allocations: 28.27 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.9734, allocations: 33.98 kB / 1.36 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.974, allocations: 0.8956 MB / 1.361 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.9741, allocations: 165.9 kB / 1.361 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.9741, allocations: 88.12 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.9741, allocations: 75.28 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.9742, allocations: 113.8 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.9742, allocations: 0 / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.33e-05/0.9743, allocations: 37.95 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.9744, allocations: 389 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.9745, allocations: 158.6 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.9745, allocations: 25.7 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.9746, allocations: 147.4 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.9746, allocations: 4.469 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.9746, allocations: 3.5 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.9747, allocations: 324.5 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.9748, allocations: 22.48 kB / 1.362 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.9749, allocations: 220.3 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.067e-05/0.975, allocations: 63.19 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.975, allocations: 3.938 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002667/0.9752, allocations: 187 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.9753, allocations: 8.375 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9753, allocations: 3.906 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.9753, allocations: 7.656 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9754, allocations: 42.31 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.9754, allocations: 6.703 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.9755, allocations: 26.41 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.9755, allocations: 11.78 kB / 1.363 GB, free: 31.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.8e-05/0.9756, allocations: 207.4 kB / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.9757, allocations: 113.6 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.9758, allocations: 122.2 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.9758, allocations: 177.3 kB / 1.363 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-05/0.9759, allocations: 187.1 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-05/0.9759, allocations: 180.9 kB / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.9761, allocations: 425 kB / 1.364 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/0.9762, allocations: 101.8 kB / 1.364 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.9762, allocations: 113.2 kB / 1.364 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.9763, allocations: 184.9 kB / 1.365 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.9763, allocations: 178.3 kB / 1.365 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.384e-05/0.9764, allocations: 181 kB / 1.365 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.474e-05/0.9764, allocations: 181.1 kB / 1.365 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.9766, allocations: 316.3 kB / 1.365 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.9766, allocations: 190.9 kB / 1.366 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.9767, allocations: 184.4 kB / 1.366 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.9768, allocations: 105.8 kB / 1.366 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.9769, allocations: 180.7 kB / 1.366 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.9769, allocations: 109.5 kB / 1.366 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.977, allocations: 117 kB / 1.366 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.977, allocations: 4 kB / 1.366 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002747/0.9773, allocations: 29.98 kB / 1.366 GB, free: 27.68 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 (0): * Single equations (assignments): 0 * 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.0004432/0.9777, allocations: 0.8373 MB / 1.367 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.9779, allocations: 72.53 kB / 1.367 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9779, allocations: 0 / 1.367 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-06/0.9779, allocations: 3.812 kB / 1.367 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.9782, allocations: 0.5257 MB / 1.368 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.9786, allocations: 236.4 kB / 1.368 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.9789, allocations: 0.6983 MB / 1.369 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.979, allocations: 58.83 kB / 1.369 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.9791, allocations: 19.67 kB / 1.369 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of SimCode: time 8.01e-07/0.9791, allocations: 0 / 1.369 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.9914, allocations: 2.78 MB / 1.371 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.9916, allocations: 157.2 kB / 1.372 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.383/2.374, allocations: 3.938 kB / 1.372 GB, free: 24.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat does not exist to compare? outputFormat=mat