Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 212.9 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.315/3.315, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.33 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4135, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001904/0.4154, allocations: 0.6217 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.4158, allocations: 59.86 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.4158, allocations: 0 / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.4159, allocations: 4 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.4159, allocations: 7.922 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.4163, allocations: 43.95 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.4163, allocations: 27.91 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.4164, allocations: 4.406 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.4164, allocations: 19.92 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.4166, allocations: 63.94 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.4166, allocations: 0 / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4168, allocations: 51.94 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.4168, allocations: 19.91 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.4169, allocations: 19.88 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.417, allocations: 59.86 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.417, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.417, allocations: 7.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.417, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 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.0004142/0.4175, allocations: 298.1 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4175, allocations: 8.031 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.4176, allocations: 8.891 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.4177, allocations: 114.5 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4177, allocations: 384 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.4177, allocations: 384 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.4181, allocations: 445.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4181, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4181, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.4181, allocations: 19.98 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.4182, allocations: 47.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.419, allocations: 0.8513 MB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4191, allocations: 173 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.4191, allocations: 84.14 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.4192, allocations: 79.27 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.4192, allocations: 113.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4192, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.743e-05/0.4193, allocations: 37.58 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002289/0.4195, allocations: 387.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4197, allocations: 175.5 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4197, allocations: 29.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.4198, allocations: 151.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.4198, allocations: 7.984 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4199, allocations: 53.66 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.42, allocations: 322.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.4201, allocations: 27.97 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.4204, allocations: 478.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4207, allocations: 201.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4207, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003249/0.421, allocations: 189.4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.421, allocations: 8 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.421, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.421, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4212, allocations: 55.8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.4212, allocations: 15.92 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.4213, allocations: 23.84 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4213, allocations: 12.38 kB / 1.332 GB, free: 11.07 MB / 1.029 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.0001471/0.4214, allocations: 217 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.4215, allocations: 116.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.4216, allocations: 108.8 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-05/0.4217, allocations: 188.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-05/0.4217, allocations: 184.1 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.858e-05/0.4218, allocations: 180.3 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.4221, allocations: 368.8 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.4221, allocations: 109 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.4222, allocations: 105 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.591e-05/0.4222, allocations: 180.2 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.4223, allocations: 184.3 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-05/0.4224, allocations: 180.2 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.897e-05/0.4225, allocations: 176.3 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4227, allocations: 323.6 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.4227, allocations: 104.9 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4228, allocations: 184.2 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.4229, allocations: 113 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.423, allocations: 188.4 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.423, allocations: 105 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.4231, allocations: 112 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4231, allocations: 4 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003175/0.4234, allocations: 28.09 kB / 1.336 GB, free: 7.492 MB / 1.029 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.0002352/0.4237, allocations: 198.4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.4238, allocations: 68.91 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4238, allocations: 0 / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.4238, allocations: 3.969 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.4243, allocations: 473.6 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.4246, allocations: 240.5 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.896e-05/0.4247, allocations: 71.98 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.4249, allocations: 60.58 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.4249, allocations: 15.44 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4249, allocations: 3.938 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of Templates: time 0.004854/0.4298, allocations: 1.897 MB / 1.339 GB, free: 4.488 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.354901729006087]