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 1.964/1.964, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.0009531/0.0009532, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0008301/0.0008301, allocations: 95.83 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.805e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2302, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.712/0.9423, allocations: 149.7 MB / 1.365 GB, free: 4.312 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.9426, allocations: 80.81 kB / 1.365 GB, free: 4.266 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002862/0.9455, allocations: 1.174 MB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9455, allocations: 0 / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9455, allocations: 4 kB / 1.366 GB, free: 3.168 MB / 0.823 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.0002592/0.9458, allocations: 348.9 kB / 1.367 GB, free: 2.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9458, allocations: 15.97 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.9458, allocations: 37.38 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.9459, allocations: 4 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.946, allocations: 171 kB / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.946, allocations: 0 / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.946, allocations: 7.984 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.9462, allocations: 159.3 kB / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.9463, allocations: 0 / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.9463, allocations: 7.984 kB / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.9463, allocations: 26.92 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.9464, allocations: 31.23 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.9469, allocations: 0.8945 MB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.947, allocations: 169 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.9471, allocations: 84.14 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.9471, allocations: 75.28 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.9471, allocations: 113 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9471, allocations: 0 / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.442e-05/0.9472, allocations: 41.53 kB / 1.368 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.9474, allocations: 387.7 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.9475, allocations: 151.8 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.9475, allocations: 34.48 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.9476, allocations: 150.8 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.9476, allocations: 0 / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9476, allocations: 7.062 kB / 1.369 GB, free: 88 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.9477, allocations: 322.5 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.9478, allocations: 23.69 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.9479, allocations: 221.6 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.948, allocations: 66.14 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.948, allocations: 3.938 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000263/0.9483, allocations: 190.2 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.9483, allocations: 8 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9483, allocations: 4 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9483, allocations: 8 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.9484, allocations: 36.58 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.9485, allocations: 8 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.9485, allocations: 23.03 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.9486, allocations: 12 kB / 1.37 GB, free: 15.12 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.36e-05/0.9487, allocations: 202.5 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.9487, allocations: 120.8 kB / 1.37 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.9488, allocations: 115.6 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/0.9488, allocations: 180.6 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/0.9489, allocations: 192.2 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/0.9489, allocations: 179.7 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.9491, allocations: 423.4 kB / 1.371 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.9492, allocations: 101 kB / 1.371 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.9492, allocations: 108.9 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.075e-05/0.9493, allocations: 187.7 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.9493, allocations: 177.2 kB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-05/0.9494, allocations: 182.4 kB / 1.372 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-05/0.9494, allocations: 176.3 kB / 1.372 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.9496, allocations: 322.9 kB / 1.373 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.9496, allocations: 186 kB / 1.373 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.9497, allocations: 187.8 kB / 1.373 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.9498, allocations: 105.3 kB / 1.373 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.9498, allocations: 184.2 kB / 1.373 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.9499, allocations: 109 kB / 1.373 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.751e-05/0.9499, allocations: 118.6 kB / 1.373 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9499, allocations: 0 / 1.373 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002607/0.9502, allocations: 27.31 kB / 1.373 GB, free: 11.44 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.0003851/0.9506, allocations: 0.8343 MB / 1.374 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.9507, allocations: 74.03 kB / 1.374 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9507, allocations: 4 kB / 1.374 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.9508, allocations: 0 / 1.374 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.951, allocations: 0.5284 MB / 1.375 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.9514, allocations: 236.6 kB / 1.375 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.9516, allocations: 0.6971 MB / 1.376 GB, free: 9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.9518, allocations: 52.73 kB / 1.376 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.9518, allocations: 26.27 kB / 1.376 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.9518, allocations: 3.938 kB / 1.376 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.9644, allocations: 2.768 MB / 1.379 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.9647, allocations: 160.3 kB / 1.379 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.353/2.318, allocations: 1.688 kB / 1.379 GB, free: 6.102 MB / 0.8386 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