Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.647/2.647, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001519/0.001519, allocations: 195.3 kB / 0.4902 GB, free: 2.223 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001287/0.001286, allocations: 100.2 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 14.62 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.5546, allocations: 149.8 MB / 1.376 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.555, allocations: 75.95 kB / 1.376 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00351/0.5585, allocations: 1.18 MB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.446e-06/0.5586, allocations: 0 / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5586, allocations: 0 / 1.377 GB, free: 2.445 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003996/0.559, allocations: 352.1 kB / 1.377 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5591, allocations: 8.562 kB / 1.377 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.5591, allocations: 42.55 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.5592, allocations: 8 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.5593, allocations: 167 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5593, allocations: 3.938 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5593, allocations: 7.984 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.5596, allocations: 147.9 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5597, allocations: 4 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.5597, allocations: 11.92 kB / 1.378 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.5597, allocations: 23.98 kB / 1.378 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.5598, allocations: 35.91 kB / 1.378 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.5605, allocations: 0.8944 MB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.529e-05/0.5606, allocations: 169.1 kB / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.5607, allocations: 75.28 kB / 1.379 GB, free: 320 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.5607, allocations: 109.8 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.5607, allocations: 11.94 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.673e-05/0.5608, allocations: 33.61 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.561, allocations: 389.3 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.5612, allocations: 159.4 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5612, allocations: 25.7 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.5613, allocations: 151.3 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.5613, allocations: 4 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.5614, allocations: 4 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5615, allocations: 330.8 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.5616, allocations: 20.36 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5618, allocations: 217.3 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.5619, allocations: 75.84 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5619, allocations: 3.938 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003345/0.5622, allocations: 185.1 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5623, allocations: 8 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5623, allocations: 4 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.5623, allocations: 8.656 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.5625, allocations: 43.92 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5625, allocations: 8 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.5626, allocations: 27.78 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5627, allocations: 12 kB / 1.38 GB, free: 14.31 MB / 0.8855 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 () * Number of clocked 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.0001495/0.5628, allocations: 209.8 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.5629, allocations: 120.8 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.563, allocations: 116.6 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/0.5631, allocations: 184.2 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.536e-05/0.5632, allocations: 176.3 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.5632, allocations: 180.3 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.5635, allocations: 425.1 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.701e-05/0.5636, allocations: 105 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5636, allocations: 108.9 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.059e-05/0.5637, allocations: 180.3 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.5638, allocations: 180.2 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.899e-05/0.5638, allocations: 184.2 kB / 1.382 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.284e-05/0.5639, allocations: 180.3 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.5641, allocations: 327.8 kB / 1.383 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.5642, allocations: 189.9 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.615e-05/0.5643, allocations: 184.3 kB / 1.383 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.5644, allocations: 109 kB / 1.383 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.5645, allocations: 180.2 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.5646, allocations: 105 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.5647, allocations: 121.5 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5647, allocations: 0 / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000372/0.5651, allocations: 28 kB / 1.384 GB, free: 10.57 MB / 0.8855 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 (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.0005805/0.5656, allocations: 0.832 MB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.5659, allocations: 75.78 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.5659, allocations: 7.938 kB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.5659, allocations: 0 / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5662, allocations: 0.5315 MB / 1.385 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.5669, allocations: 288.1 kB / 1.386 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5672, allocations: 0.6971 MB / 1.386 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.5673, allocations: 48.59 kB / 1.386 GB, free: 8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.5674, allocations: 19.44 kB / 1.386 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5674, allocations: 0 / 1.386 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.5842, allocations: 2.771 MB / 1.389 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.5846, allocations: 186 kB / 1.389 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.132, allocations: 0 / 1.389 GB, free: 5.133 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat does not exist to compare? outputFormat=mat