Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001173/0.001173, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001178/0.001178, allocations: 190 kB / 17.35 MB, free: 5.633 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.406/1.406, 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 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001967/1.039, allocations: 0.6086 MB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003462/1.039, allocations: 63.86 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/1.039, allocations: 0 / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/1.039, allocations: 3.984 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/1.039, allocations: 7.938 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/1.04, allocations: 43.94 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/1.04, allocations: 27.86 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/1.04, allocations: 4 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/1.04, allocations: 19.97 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/1.04, allocations: 59.89 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/1.04, allocations: 4 kB / 1.168 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/1.04, allocations: 35.95 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/1.04, allocations: 23.91 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/1.04, allocations: 23.81 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/1.041, allocations: 59.86 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.041, allocations: 8 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/1.041, allocations: 0 / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.041, allocations: 0 / 1.168 GB, free: 2.852 MB / 0.8887 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.0004226/1.041, allocations: 363.2 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.041, allocations: 15.97 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/1.041, allocations: 4.938 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/1.041, allocations: 164.3 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/1.041, allocations: 384 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/1.041, allocations: 8.359 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/1.042, allocations: 184.5 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/1.042, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/1.042, allocations: 0 / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/1.042, allocations: 27.97 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/1.042, allocations: 35.86 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/1.043, allocations: 0.9079 MB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/1.043, allocations: 177.1 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/1.043, allocations: 80.14 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.043, allocations: 75.28 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/1.043, allocations: 113.8 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.043, allocations: 4 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/1.043, allocations: 37.59 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/1.043, allocations: 316.4 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.043, allocations: 167.3 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.043, allocations: 29.7 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/1.043, allocations: 143.1 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/1.044, allocations: 8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/1.044, allocations: 49.61 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.044, allocations: 326.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/1.044, allocations: 23.98 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.044, allocations: 227.3 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.044, allocations: 205.8 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.044, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003692/1.045, allocations: 189.4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.045, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.045, allocations: 8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.045, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/1.045, allocations: 47.86 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.045, allocations: 8.031 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/1.045, allocations: 27.78 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.045, allocations: 12.38 kB / 1.172 GB, free: 14.44 MB / 0.9044 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.0001582/1.045, allocations: 216.9 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/1.045, allocations: 116.9 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/1.045, allocations: 119.2 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-05/1.045, allocations: 180.2 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-05/1.045, allocations: 104.9 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/1.046, allocations: 194 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/1.046, allocations: 184.2 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/1.046, allocations: 104.9 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/1.046, allocations: 180.3 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001096/1.046, allocations: 267.5 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001978/1.046, allocations: 398.9 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.772e-05/1.046, allocations: 101 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.56e-05/1.046, allocations: 118.1 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Backend: time 3.31e-07/1.046, allocations: 0 / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005683/1.047, allocations: 170.5 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006134/1.047, allocations: 0.9029 MB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.004007/1.051, allocations: 1.181 MB / 1.177 GB, free: 9.789 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches