Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.91 kB / 1.11 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 168.8 MB / 1.274 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001823/0.3473, allocations: 0.6031 MB / 1.275 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003356/0.3476, allocations: 67.84 kB / 1.275 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.3476, allocations: 0 / 1.275 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.3477, allocations: 7.922 kB / 1.275 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.3477, allocations: 4 kB / 1.275 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.3481, allocations: 55.88 kB / 1.275 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.3482, allocations: 23.92 kB / 1.275 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3482, allocations: 416 / 1.275 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.3483, allocations: 15.97 kB / 1.275 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.3485, allocations: 71.88 kB / 1.275 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3485, allocations: 3.938 kB / 1.275 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3486, allocations: 47.94 kB / 1.275 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.3487, allocations: 12 kB / 1.275 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3487, allocations: 27.8 kB / 1.275 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.3489, allocations: 67.72 kB / 1.275 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3489, allocations: 3.938 kB / 1.275 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3489, allocations: 4 kB / 1.275 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.3489, allocations: 0 / 1.275 GB, free: 9.887 MB / 0.9825 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.0003666/0.3492, allocations: 290.2 kB / 1.276 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3493, allocations: 12.03 kB / 1.276 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3493, allocations: 8.891 kB / 1.276 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.3494, allocations: 106.5 kB / 1.276 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3494, allocations: 8.359 kB / 1.276 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3494, allocations: 384 / 1.276 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3497, allocations: 187.4 kB / 1.276 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3497, allocations: 0 / 1.276 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3497, allocations: 4 kB / 1.276 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.3498, allocations: 19.92 kB / 1.276 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.3499, allocations: 47.89 kB / 1.276 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.3507, allocations: 0.878 MB / 1.277 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.3508, allocations: 169.1 kB / 1.277 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.3509, allocations: 80.14 kB / 1.277 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.3509, allocations: 75.28 kB / 1.277 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.351, allocations: 113.8 kB / 1.277 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.351, allocations: 0 / 1.277 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.926e-05/0.3511, allocations: 37.59 kB / 1.277 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/0.3513, allocations: 395.7 kB / 1.278 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3515, allocations: 164 kB / 1.278 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3515, allocations: 25.7 kB / 1.278 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3517, allocations: 159.5 kB / 1.278 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/0.3517, allocations: 4 kB / 1.278 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.3518, allocations: 53.66 kB / 1.278 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.352, allocations: 322.8 kB / 1.278 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.3521, allocations: 23.98 kB / 1.278 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3523, allocations: 222.5 kB / 1.279 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.3525, allocations: 201.7 kB / 1.279 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3525, allocations: 0 / 1.279 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003431/0.3529, allocations: 193.5 kB / 1.279 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3529, allocations: 8 kB / 1.279 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3529, allocations: 7.938 kB / 1.279 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3529, allocations: 12.03 kB / 1.279 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3531, allocations: 43.86 kB / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.3531, allocations: 11.98 kB / 1.279 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3532, allocations: 31.78 kB / 1.279 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3532, allocations: 12.34 kB / 1.279 GB, free: 5.574 MB / 0.9825 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.0001576/0.3534, allocations: 213 kB / 1.279 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.3535, allocations: 112.9 kB / 1.279 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.3535, allocations: 108.8 kB / 1.28 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.3537, allocations: 192.2 kB / 1.28 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001019/0.3538, allocations: 180.3 kB / 1.28 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.562e-05/0.3538, allocations: 184.3 kB / 1.28 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3541, allocations: 388.2 kB / 1.28 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.212e-05/0.3542, allocations: 109 kB / 1.281 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.3542, allocations: 104.9 kB / 1.281 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.009e-05/0.3543, allocations: 177.5 kB / 1.281 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.3544, allocations: 184.3 kB / 1.281 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-05/0.3545, allocations: 184.1 kB / 1.281 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.234e-05/0.3546, allocations: 176.3 kB / 1.281 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3548, allocations: 315.7 kB / 1.282 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.3548, allocations: 112.9 kB / 1.282 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3549, allocations: 184.3 kB / 1.282 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.355, allocations: 112.9 kB / 1.282 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3552, allocations: 188.5 kB / 1.282 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.3552, allocations: 101 kB / 1.282 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.3553, allocations: 113.5 kB / 1.282 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3553, allocations: 0 / 1.282 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003408/0.3556, allocations: 31.94 kB / 1.282 GB, free: 1.977 MB / 0.9825 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.0002181/0.3559, allocations: 190.5 kB / 1.283 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001843/0.356, allocations: 76.94 kB / 1.283 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.356, allocations: 0 / 1.283 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.356, allocations: 0 / 1.283 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3565, allocations: 467.8 kB / 1.283 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.3569, allocations: 232.5 kB / 1.283 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.3573, allocations: 0.693 MB / 1.284 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.3575, allocations: 64.52 kB / 1.284 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.3575, allocations: 11.44 kB / 1.284 GB, free: 204 kB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3575, allocations: 0 / 1.284 GB, free: 204 kB / 0.9825 GB Notification: Performance of Templates: time 0.005162/0.3627, allocations: 1.772 MB / 1.286 GB, free: 14.46 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.675704974681139]