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 2.245/2.245, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001076/0.001076, allocations: 176.9 kB / 487.4 MB, free: 5.051 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.479/1.479, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0008451/0.0008453, allocations: 99.88 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.365e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9382/1.226, allocations: 148.3 MB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.226, allocations: 79.81 kB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003716/1.23, allocations: 1.168 MB / 1.352 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/1.23, allocations: 0 / 1.352 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.23, allocations: 5.281 kB / 1.352 GB, free: 34.15 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.0002712/1.231, allocations: 349.8 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.231, allocations: 9.125 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/1.231, allocations: 7.812 kB / 1.352 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/1.231, allocations: 173.8 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.231, allocations: 1.344 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/1.231, allocations: 2.062 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.068e-05/1.231, allocations: 34.17 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/1.231, allocations: 160.3 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/1.231, allocations: 0 / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.231, allocations: 0 / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/1.231, allocations: 21.16 kB / 1.353 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/1.232, allocations: 0.8712 MB / 1.354 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/1.232, allocations: 169.6 kB / 1.354 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/1.232, allocations: 88.08 kB / 1.354 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/1.232, allocations: 75.28 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.232, allocations: 113.9 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.232, allocations: 0 / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.03e-05/1.232, allocations: 34.06 kB / 1.354 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.232, allocations: 313.6 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.232, allocations: 152.1 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/1.232, allocations: 25.7 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/1.232, allocations: 149.5 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/1.232, allocations: 4.594 kB / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.232, allocations: 0 / 1.355 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.232, allocations: 317.2 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/1.232, allocations: 22.09 kB / 1.355 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.233, allocations: 212.9 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.743e-05/1.233, allocations: 60.97 kB / 1.355 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.233, allocations: 3.953 kB / 1.355 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002238/1.233, allocations: 162.9 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.233, allocations: 3.844 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.233, allocations: 9.188 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.233, allocations: 3.875 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.233, allocations: 42.53 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.233, allocations: 13.06 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/1.233, allocations: 16.95 kB / 1.356 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.233, allocations: 12.19 kB / 1.356 GB, free: 30.9 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 0.0001001/1.233, allocations: 199.7 kB / 1.356 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.285e-05/1.233, allocations: 144 kB / 1.356 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/1.233, allocations: 117.1 kB / 1.356 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/1.233, allocations: 115.3 kB / 1.356 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/1.234, allocations: 191.3 kB / 1.356 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.286e-05/1.234, allocations: 180.8 kB / 1.356 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/1.234, allocations: 180.8 kB / 1.357 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/1.234, allocations: 402.1 kB / 1.357 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/1.234, allocations: 105.6 kB / 1.357 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/1.234, allocations: 101.7 kB / 1.357 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.414e-05/1.234, allocations: 181 kB / 1.357 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/1.234, allocations: 181.1 kB / 1.358 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.497e-05/1.234, allocations: 185.8 kB / 1.358 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-05/1.234, allocations: 181 kB / 1.358 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/1.234, allocations: 307.9 kB / 1.358 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/1.234, allocations: 195.2 kB / 1.358 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/1.234, allocations: 181.7 kB / 1.359 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/1.235, allocations: 109.6 kB / 1.359 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/1.235, allocations: 184.8 kB / 1.359 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/1.235, allocations: 105.7 kB / 1.359 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.879e-05/1.235, allocations: 111.6 kB / 1.359 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.235, allocations: 0 / 1.359 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002869/1.235, allocations: 24.02 kB / 1.359 GB, free: 27.23 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.0004462/1.235, allocations: 0.8369 MB / 1.36 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001194/1.236, allocations: 59.88 kB / 1.36 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.236, allocations: 64 / 1.36 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.236, allocations: 7.938 kB / 1.36 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.236, allocations: 0.5299 MB / 1.36 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/1.236, allocations: 218 kB / 1.361 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/1.237, allocations: 0.6922 MB / 1.361 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001687/1.237, allocations: 56.78 kB / 1.361 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/1.237, allocations: 20.56 kB / 1.361 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.237, allocations: 4 kB / 1.361 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/1.259, allocations: 2.483 MB / 1.364 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.259, allocations: 146.1 kB / 1.364 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.688, allocations: 0 / 1.364 GB, free: 24.6 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