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.001147/0.001147, allocations: 112.3 kB / 16.42 MB, free: 6.527 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.001168/0.001168, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 59.91 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.066, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002282/1.069, allocations: 0.6136 MB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003896/1.069, allocations: 71.78 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/1.069, allocations: 0 / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/1.069, allocations: 4 kB / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/1.069, allocations: 11.92 kB / 1.227 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/1.07, allocations: 43.94 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/1.07, allocations: 19.98 kB / 1.227 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/1.07, allocations: 7.938 kB / 1.227 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/1.07, allocations: 15.97 kB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/1.07, allocations: 59.89 kB / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/1.07, allocations: 0 / 1.227 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/1.07, allocations: 43.95 kB / 1.227 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/1.07, allocations: 15.94 kB / 1.227 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/1.07, allocations: 23.84 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/1.071, allocations: 67.31 kB / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.071, allocations: 0 / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/1.071, allocations: 0 / 1.227 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.071, allocations: 0 / 1.227 GB, free: 12.46 MB / 0.9512 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.0004552/1.071, allocations: 364.3 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.071, allocations: 8.031 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/1.071, allocations: 8.891 kB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/1.071, allocations: 172.3 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.071, allocations: 8.359 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.071, allocations: 384 / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/1.072, allocations: 183.4 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/1.072, allocations: 0 / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.072, allocations: 4 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/1.072, allocations: 23.98 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/1.072, allocations: 35.91 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/1.073, allocations: 0.9063 MB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/1.073, allocations: 169.1 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/1.073, allocations: 80.14 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/1.073, allocations: 79.28 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/1.073, allocations: 113.8 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/1.073, allocations: 4 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.584e-05/1.073, allocations: 37.66 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/1.073, allocations: 316.4 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/1.073, allocations: 164.1 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/1.073, allocations: 33.64 kB / 1.23 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/1.073, allocations: 155.5 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/1.073, allocations: 0 / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/1.074, allocations: 61.59 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.074, allocations: 330.8 kB / 1.23 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/1.074, allocations: 23.98 kB / 1.231 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/1.074, allocations: 219.1 kB / 1.231 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/1.074, allocations: 201.7 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.074, allocations: 4 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000332/1.075, allocations: 189.1 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/1.075, allocations: 8 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.075, allocations: 4 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/1.075, allocations: 8 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/1.075, allocations: 44.52 kB / 1.231 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.075, allocations: 19.91 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/1.075, allocations: 31.78 kB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/1.075, allocations: 12 kB / 1.231 GB, free: 8.02 MB / 0.9512 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/1.075, allocations: 214.3 kB / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/1.075, allocations: 105 kB / 1.232 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/1.075, allocations: 116.8 kB / 1.232 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/1.075, allocations: 188.2 kB / 1.232 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/1.075, allocations: 105 kB / 1.232 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/1.076, allocations: 190 kB / 1.232 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.076, allocations: 180.3 kB / 1.232 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/1.076, allocations: 112.9 kB / 1.232 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/1.076, allocations: 176.3 kB / 1.233 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001096/1.076, allocations: 267.5 kB / 1.233 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002026/1.076, allocations: 388.2 kB / 1.233 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.681e-05/1.076, allocations: 112.9 kB / 1.233 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.117e-05/1.076, allocations: 114.2 kB / 1.233 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of Backend: time 2.81e-07/1.076, allocations: 0 / 1.233 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005636/1.077, allocations: 170.2 kB / 1.234 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006183/1.078, allocations: 0.8992 MB / 1.234 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of Templates: time 0.004065/1.082, allocations: 1.195 MB / 1.236 GB, free: 3.379 MB / 0.9512 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