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.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001254/0.001255, allocations: 183.9 kB / 498.1 MB, free: 5.723 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.694/1.694, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009702/0.0009705, allocations: 98.77 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 12.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4275, allocations: 149 MB / 1.368 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.4278, allocations: 79.94 kB / 1.369 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003156/0.431, allocations: 1.161 MB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.431, allocations: 4 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.431, allocations: 3.938 kB / 1.37 GB, free: 11.71 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.0003096/0.4313, allocations: 365.9 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4314, allocations: 8.031 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.4314, allocations: 42.55 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4315, allocations: 7.906 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4316, allocations: 170.9 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4316, allocations: 4 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.4316, allocations: 0 / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.4318, allocations: 167.3 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4319, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4319, allocations: 4 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.4319, allocations: 19.97 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.432, allocations: 43.84 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.4326, allocations: 0.8868 MB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.4327, allocations: 173.1 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4328, allocations: 75.28 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.4328, allocations: 113.8 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4328, allocations: 3.938 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.4329, allocations: 33.61 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.4331, allocations: 395.6 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4332, allocations: 155.6 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4332, allocations: 29.7 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.4333, allocations: 143.3 kB / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.4333, allocations: 7.984 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4333, allocations: 0 / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4334, allocations: 322.8 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.4335, allocations: 28.34 kB / 1.373 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.4337, allocations: 220.6 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.4338, allocations: 63.91 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4338, allocations: 0 / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003958/0.4342, allocations: 189.5 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.4343, allocations: 11.98 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4343, allocations: 4 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4343, allocations: 8 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4345, allocations: 35.92 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.4345, allocations: 15.92 kB / 1.373 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.4346, allocations: 27.69 kB / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4346, allocations: 12 kB / 1.373 GB, free: 7.562 MB / 0.8698 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.0001625/0.4348, allocations: 225.2 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4349, allocations: 109.5 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.836e-05/0.435, allocations: 124.7 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-05/0.435, allocations: 184.2 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.335e-05/0.4351, allocations: 184.2 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-05/0.4352, allocations: 180.3 kB / 1.374 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4355, allocations: 429.2 kB / 1.375 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/0.4355, allocations: 104.9 kB / 1.375 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.4356, allocations: 101 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.208e-05/0.4356, allocations: 180.2 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.4357, allocations: 180.3 kB / 1.375 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.468e-05/0.4358, allocations: 188.2 kB / 1.375 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-05/0.4358, allocations: 180.2 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.436, allocations: 308.5 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.4361, allocations: 194 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.4361, allocations: 184.2 kB / 1.376 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.4362, allocations: 108.9 kB / 1.376 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.4363, allocations: 176.3 kB / 1.376 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.4364, allocations: 109.2 kB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.4364, allocations: 117.5 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4364, allocations: 0 / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003124/0.4368, allocations: 32 kB / 1.377 GB, free: 3.82 MB / 0.8698 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.0004593/0.4372, allocations: 0.8358 MB / 1.378 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.4374, allocations: 84.88 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4374, allocations: 0 / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.4374, allocations: 3.984 kB / 1.378 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4377, allocations: 0.5263 MB / 1.378 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.4382, allocations: 288.3 kB / 1.378 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4385, allocations: 0.6971 MB / 1.379 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.4387, allocations: 56.59 kB / 1.379 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.4387, allocations: 27.42 kB / 1.379 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.4387, allocations: 0 / 1.379 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.4579, allocations: 2.75 MB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.4582, allocations: 182.1 kB / 1.382 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.164, allocations: 4 kB / 1.382 GB, free: 14.38 MB / 0.8855 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