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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.2 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 199.1 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 482.2 MB / 0.7548 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.66 kB / 0.9238 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8403/0.8423, allocations: 162.2 MB / 1.082 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001882/0.8442, allocations: 0.6605 MB / 1.083 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.8445, allocations: 72.73 kB / 1.083 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.8446, allocations: 3.938 kB / 1.083 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.8446, allocations: 5.391 kB / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.8447, allocations: 5.859 kB / 1.083 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.845, allocations: 38.34 kB / 1.083 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.845, allocations: 32.08 kB / 1.083 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.8451, allocations: 3.438 kB / 1.083 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.8451, allocations: 13.23 kB / 1.083 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.8453, allocations: 77.73 kB / 1.083 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8453, allocations: 1.5 kB / 1.083 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.8455, allocations: 39.58 kB / 1.083 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.8455, allocations: 16.33 kB / 1.083 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.8455, allocations: 24.86 kB / 1.083 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.8457, allocations: 39.44 kB / 1.083 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8457, allocations: 4 kB / 1.083 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8457, allocations: 0 / 1.083 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.8457, allocations: 0 / 1.083 GB, free: 1.199 MB / 0.8262 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.0002855/0.846, allocations: 364.2 kB / 1.084 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.846, allocations: 9.656 kB / 1.084 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.8461, allocations: 9.797 kB / 1.084 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.129e-05/0.8461, allocations: 170 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.8461, allocations: 2.594 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.8461, allocations: 2 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.8464, allocations: 182 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.8464, allocations: 1.562 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.8464, allocations: 2.578 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.8465, allocations: 23.97 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.8466, allocations: 44.41 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.8472, allocations: 0.905 MB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.8473, allocations: 170.2 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.8474, allocations: 85.05 kB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.8474, allocations: 75.28 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/0.8475, allocations: 117.4 kB / 1.085 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.8475, allocations: 0 / 1.085 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.718e-05/0.8476, allocations: 39.55 kB / 1.085 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.8478, allocations: 387.3 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.848, allocations: 167.5 kB / 1.086 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.848, allocations: 27.58 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8481, allocations: 149.4 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.8481, allocations: 10.7 kB / 1.086 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.8482, allocations: 53.56 kB / 1.086 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8484, allocations: 323.5 kB / 1.086 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.8484, allocations: 26.03 kB / 1.086 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.8486, allocations: 220.9 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.8489, allocations: 202.7 kB / 1.087 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8489, allocations: 1.25 kB / 1.087 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000319/0.8492, allocations: 191.3 kB / 1.087 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8492, allocations: 11.25 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8492, allocations: 5.266 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.8492, allocations: 10.62 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.8494, allocations: 46.17 kB / 1.087 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8494, allocations: 7.312 kB / 1.087 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.8495, allocations: 23.09 kB / 1.087 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.8495, allocations: 11.42 kB / 1.087 GB, free: 13.41 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.8497, allocations: 209.8 kB / 1.087 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.8498, allocations: 119.8 kB / 1.087 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.363e-05/0.8498, allocations: 115.6 kB / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-05/0.8499, allocations: 184.9 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.964e-05/0.85, allocations: 186.2 kB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/0.8501, allocations: 178.4 kB / 1.088 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.8504, allocations: 422.6 kB / 1.088 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/0.8504, allocations: 101 kB / 1.089 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.8505, allocations: 111.5 kB / 1.089 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.8506, allocations: 181.5 kB / 1.089 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.8507, allocations: 179.6 kB / 1.089 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.043e-05/0.8507, allocations: 190 kB / 1.089 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/0.8508, allocations: 178.8 kB / 1.089 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.851, allocations: 316.5 kB / 1.09 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.8511, allocations: 186.6 kB / 1.09 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8512, allocations: 183.9 kB / 1.09 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8513, allocations: 112.2 kB / 1.09 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.8514, allocations: 182.5 kB / 1.09 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.8515, allocations: 110.3 kB / 1.09 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.336e-05/0.8516, allocations: 116.6 kB / 1.09 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8516, allocations: 3.938 kB / 1.09 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003328/0.8519, allocations: 26.94 kB / 1.091 GB, free: 9.809 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.8521, allocations: 183.2 kB / 1.091 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.8523, allocations: 76.27 kB / 1.091 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8523, allocations: 1.469 kB / 1.091 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-06/0.8523, allocations: 7.938 kB / 1.091 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.8528, allocations: 467.4 kB / 1.091 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.8531, allocations: 279.3 kB / 1.091 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8535, allocations: 0.6922 MB / 1.092 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.8535, allocations: 15.94 kB / 1.092 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.8535, allocations: 0 / 1.092 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of Templates: time 0.004303/0.8578, allocations: 1.704 MB / 1.094 GB, free: 8.086 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches