Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001697/0.001698, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8577, allocations: 140.4 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00273/0.8605, allocations: 0.6655 MB / 0.9496 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005864/0.8611, allocations: 75.03 kB / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.8612, allocations: 0 / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.781e-05/0.8612, allocations: 5.359 kB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.8613, allocations: 10.69 kB / 0.9497 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.8617, allocations: 33.7 kB / 0.9497 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.8619, allocations: 21.73 kB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.8619, allocations: 10.72 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.862, allocations: 11 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.8623, allocations: 70.55 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8623, allocations: 1.094 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.8625, allocations: 35.69 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.8626, allocations: 22.28 kB / 0.9499 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.8626, allocations: 26.19 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.8628, allocations: 68.66 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8629, allocations: 1.594 kB / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8629, allocations: 0 / 0.9499 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.8629, allocations: 0 / 0.9499 GB, free: 8.488 MB / 0.7169 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.0005237/0.8634, allocations: 361.1 kB / 0.9503 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.8635, allocations: 8.875 kB / 0.9503 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.8636, allocations: 8.656 kB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.8637, allocations: 169.6 kB / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.8637, allocations: 5.594 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.8637, allocations: 2.875 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.8641, allocations: 183.3 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.8641, allocations: 5 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.8642, allocations: 1.938 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.8643, allocations: 27.05 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.8644, allocations: 38.25 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.8652, allocations: 0.9049 MB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.8653, allocations: 166.7 kB / 0.9518 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.8654, allocations: 80.14 kB / 0.9518 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.8654, allocations: 76.62 kB / 0.9519 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.8655, allocations: 119.4 kB / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.8655, allocations: 0 / 0.952 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.8656, allocations: 35.86 kB / 0.9521 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.8657, allocations: 389.4 kB / 0.9524 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.8659, allocations: 163.9 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8659, allocations: 31.36 kB / 0.9526 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.866, allocations: 144.8 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.866, allocations: 9.344 kB / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.8661, allocations: 57.08 kB / 0.9528 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.8662, allocations: 324.9 kB / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.8663, allocations: 23.7 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.8664, allocations: 221.7 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.8666, allocations: 209.3 kB / 0.9536 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8666, allocations: 1.406 kB / 0.9536 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003604/0.867, allocations: 193 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.867, allocations: 8.75 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.867, allocations: 3.875 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.8671, allocations: 11.19 kB / 0.9538 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.8672, allocations: 41.75 kB / 0.9538 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.8672, allocations: 18.77 kB / 0.9538 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.8673, allocations: 26.06 kB / 0.9539 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.8674, allocations: 10.25 kB / 0.9539 GB, free: 4.543 MB / 0.7169 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.000112/0.8675, allocations: 215.3 kB / 0.9541 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.8675, allocations: 111.4 kB / 0.9542 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.8676, allocations: 117.2 kB / 0.9543 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.8676, allocations: 188.1 kB / 0.9545 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/0.8676, allocations: 177.8 kB / 0.9546 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.214e-05/0.8677, allocations: 185.5 kB / 0.9548 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.8678, allocations: 416 kB / 0.9552 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.8679, allocations: 105.6 kB / 0.9553 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.8679, allocations: 106.1 kB / 0.9554 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.4e-05/0.868, allocations: 185.3 kB / 0.9556 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.868, allocations: 181.2 kB / 0.9558 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.27e-05/0.8681, allocations: 186.6 kB / 0.9559 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-05/0.8681, allocations: 185.3 kB / 0.9561 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.871e-05/0.8682, allocations: 307.1 kB / 0.9564 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.8683, allocations: 189 kB / 0.9566 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.8683, allocations: 190.9 kB / 0.9568 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.8684, allocations: 111.5 kB / 0.9569 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.8684, allocations: 177.8 kB / 0.9571 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.8685, allocations: 102.2 kB / 0.9571 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.962e-05/0.8685, allocations: 119.9 kB / 0.9573 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.31e-07/0.8685, allocations: 0 / 0.9573 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000333/0.8689, allocations: 30.97 kB / 0.9573 GB, free: 0.918 MB / 0.7169 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.0002049/0.8691, allocations: 193.5 kB / 0.9575 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.8693, allocations: 75.91 kB / 0.9575 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8693, allocations: 5.469 kB / 0.9576 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.8693, allocations: 0 / 0.9576 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.8697, allocations: 0.5313 MB / 0.9581 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.87, allocations: 244.2 kB / 0.9583 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.8704, allocations: 0.694 MB / 0.959 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000255/0.8706, allocations: 51.88 kB / 0.959 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.8707, allocations: 13.75 kB / 0.959 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of SimCode: time 8.246e-06/0.8707, allocations: 1 kB / 0.959 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.004895/0.8756, allocations: 1.751 MB / 0.9608 GB, free: 14.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches