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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001362/0.001362, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001453/0.001453, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001668/1.034, allocations: 0.6029 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003607/1.034, allocations: 76.2 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/1.035, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/1.035, allocations: 1.844 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/1.035, allocations: 9.125 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/1.035, allocations: 48.05 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.05e-05/1.035, allocations: 25.36 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/1.035, allocations: 3.75 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/1.035, allocations: 16.67 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/1.035, allocations: 60.39 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/1.035, allocations: 1.031 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/1.036, allocations: 36.7 kB / 1.09 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/1.036, allocations: 19.03 kB / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/1.036, allocations: 23.36 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/1.036, allocations: 67.5 kB / 1.09 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.036, allocations: 4 kB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.036, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.036, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 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.0003064/1.036, allocations: 354.9 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.036, allocations: 8.953 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/1.036, allocations: 9.094 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.045e-05/1.036, allocations: 170.4 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.036, allocations: 5.406 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/1.036, allocations: 3.344 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/1.037, allocations: 180.8 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/1.037, allocations: 1.094 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.037, allocations: 2.281 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/1.037, allocations: 24.34 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/1.037, allocations: 39.75 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/1.037, allocations: 0.9037 MB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/1.037, allocations: 181.8 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/1.037, allocations: 81.14 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/1.037, allocations: 75.8 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/1.037, allocations: 112.7 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.037, allocations: 0 / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.346e-05/1.038, allocations: 36.33 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.038, allocations: 320.2 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/1.038, allocations: 167.6 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.038, allocations: 27.02 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/1.038, allocations: 153.3 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/1.038, allocations: 3.125 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/1.038, allocations: 56.89 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/1.038, allocations: 323.5 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.621e-05/1.038, allocations: 30.52 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/1.038, allocations: 226.7 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.038, allocations: 198 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.038, allocations: 1.188 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000306/1.039, allocations: 189 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.039, allocations: 6.469 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.039, allocations: 4.938 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.039, allocations: 7.281 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/1.039, allocations: 42.17 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/1.039, allocations: 11.41 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/1.039, allocations: 26.59 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.039, allocations: 10.09 kB / 1.093 GB, free: 1.285 MB / 0.8575 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.0001037/1.039, allocations: 219.9 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/1.039, allocations: 115.3 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/1.039, allocations: 114.9 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/1.039, allocations: 186.3 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/1.039, allocations: 106.3 kB / 1.094 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/1.039, allocations: 189.6 kB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/1.04, allocations: 179.4 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/1.04, allocations: 109.1 kB / 1.095 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.04, allocations: 182.1 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.347e-05/1.04, allocations: 262 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001861/1.04, allocations: 399.8 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.905e-05/1.04, allocations: 106.3 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.52e-05/1.04, allocations: 115 kB / 1.096 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of Backend: time 4.21e-07/1.04, allocations: 0 / 1.096 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005561/1.041, allocations: 168.1 kB / 1.096 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005842/1.041, allocations: 0.9032 MB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.004194/1.046, allocations: 1.191 MB / 1.098 GB, free: 13.9 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches