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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001634/0.001634, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.001703/0.001704, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00222/1.093, allocations: 0.6086 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004661/1.094, allocations: 75.78 kB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/1.094, allocations: 0 / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/1.094, allocations: 3.938 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/1.094, allocations: 8 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/1.094, allocations: 51.88 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/1.094, allocations: 19.98 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/1.094, allocations: 7.984 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/1.095, allocations: 11.98 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/1.095, allocations: 63.88 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/1.095, allocations: 4 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/1.095, allocations: 31.97 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/1.095, allocations: 19.97 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/1.095, allocations: 27.81 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/1.095, allocations: 67.73 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.095, allocations: 4 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/1.095, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.095, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 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.0005796/1.096, allocations: 359.2 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.096, allocations: 12.03 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/1.096, allocations: 8.922 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.096, allocations: 160.4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/1.096, allocations: 4.312 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/1.096, allocations: 8.375 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/1.097, allocations: 179.4 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.097, allocations: 3.984 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.097, allocations: 0 / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/1.097, allocations: 31.92 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/1.097, allocations: 35.91 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/1.098, allocations: 0.9079 MB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.098, allocations: 173.1 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/1.098, allocations: 84.14 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/1.098, allocations: 75.28 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/1.098, allocations: 105.8 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/1.098, allocations: 8 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001108/1.098, allocations: 37.55 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/1.098, allocations: 312.4 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.099, allocations: 172.3 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.099, allocations: 25.7 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.099, allocations: 143.2 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-06/1.099, allocations: 7.984 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/1.099, allocations: 53.61 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.099, allocations: 322.8 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/1.099, allocations: 27.97 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/1.099, allocations: 226.6 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/1.099, allocations: 201.7 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.099, allocations: 3.938 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003886/1.1, allocations: 193.1 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.1, allocations: 4 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.1, allocations: 8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/1.1, allocations: 4 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/1.1, allocations: 44.52 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.1, allocations: 4 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/1.1, allocations: 27.84 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.1, allocations: 12 kB / 1.213 GB, free: 8.258 MB / 0.9356 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.0001671/1.1, allocations: 213 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/1.101, allocations: 120.8 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/1.101, allocations: 108.9 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.025e-05/1.101, allocations: 192.1 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.542e-05/1.101, allocations: 105 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.101, allocations: 190 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.101, allocations: 184.2 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.101, allocations: 105.1 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/1.101, allocations: 192.1 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001225/1.101, allocations: 263.5 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000252/1.102, allocations: 398.9 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.003e-05/1.102, allocations: 101 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.185e-05/1.102, allocations: 117.1 kB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of Backend: time 2.504e-06/1.102, allocations: 0 / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006509/1.102, allocations: 174.1 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009374/1.103, allocations: 0.9089 MB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.00504/1.108, allocations: 1.176 MB / 1.218 GB, free: 3.602 MB / 0.9356 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