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.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.2/2.2, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6722, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001771/0.674, allocations: 0.5968 MB / 0.9502 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.6743, allocations: 69 kB / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.6743, allocations: 1.156 kB / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.6744, allocations: 0 / 0.9502 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.6744, allocations: 16.02 kB / 0.9503 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.6747, allocations: 41.89 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.6748, allocations: 27.28 kB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.6749, allocations: 6.688 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.6749, allocations: 16.23 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.6751, allocations: 66.06 kB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.6751, allocations: 1.375 kB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.6752, allocations: 32.47 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.6752, allocations: 21.59 kB / 0.9505 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.6753, allocations: 25.31 kB / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.6754, allocations: 65.97 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6754, allocations: 0 / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6754, allocations: 1.375 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6754, allocations: 0 / 0.9505 GB, free: 8.531 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.0002509/0.6757, allocations: 360.7 kB / 0.9509 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6757, allocations: 13.61 kB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.6757, allocations: 7.594 kB / 0.9509 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.019e-05/0.6758, allocations: 171 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.6758, allocations: 384 / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.6758, allocations: 11.11 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.676, allocations: 186.8 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6761, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6761, allocations: 3.219 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.6761, allocations: 26.64 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.6762, allocations: 36 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.6766, allocations: 0.9066 MB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.6767, allocations: 170.3 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.6767, allocations: 80.14 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.6767, allocations: 76.84 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.6768, allocations: 111.3 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6768, allocations: 4 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.807e-05/0.6769, allocations: 35.08 kB / 0.9527 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.6769, allocations: 386.5 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.6771, allocations: 172.8 kB / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.6771, allocations: 26.86 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.6771, allocations: 148.1 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.6771, allocations: 5.203 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.6772, allocations: 52.45 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.6773, allocations: 325.5 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.6773, allocations: 29.12 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.6774, allocations: 222 kB / 0.954 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.6775, allocations: 200.7 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6775, allocations: 5.219 kB / 0.9542 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002747/0.6778, allocations: 192 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6778, allocations: 7.969 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.6779, allocations: 3.969 kB / 0.9544 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6779, allocations: 11.22 kB / 0.9544 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.678, allocations: 38.08 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.678, allocations: 10.81 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.6781, allocations: 34.38 kB / 0.9545 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.6781, allocations: 14.39 kB / 0.9545 GB, free: 4.582 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 9.742e-05/0.6782, allocations: 211.2 kB / 0.9547 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.6783, allocations: 114.6 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.6783, allocations: 117 kB / 0.9549 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.6784, allocations: 181.5 kB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/0.6784, allocations: 184.3 kB / 0.9552 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.838e-05/0.6784, allocations: 185.5 kB / 0.9554 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.6786, allocations: 416 kB / 0.9558 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.6786, allocations: 106.1 kB / 0.9559 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.6786, allocations: 102.6 kB / 0.956 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/0.6787, allocations: 188.2 kB / 0.9562 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.6787, allocations: 181.6 kB / 0.9564 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.709e-05/0.6787, allocations: 181.8 kB / 0.9565 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.901e-05/0.6787, allocations: 181.7 kB / 0.9567 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.178e-05/0.6788, allocations: 316.1 kB / 0.957 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.6789, allocations: 184.6 kB / 0.9572 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.6789, allocations: 187.3 kB / 0.9574 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.679, allocations: 111.4 kB / 0.9575 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.679, allocations: 181.4 kB / 0.9576 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.6791, allocations: 106.1 kB / 0.9577 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.6791, allocations: 120.1 kB / 0.9579 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6791, allocations: 1.344 kB / 0.9579 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002945/0.6794, allocations: 25.44 kB / 0.9579 GB, free: 0.9609 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.0001762/0.6796, allocations: 189.1 kB / 0.9581 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.6798, allocations: 76.52 kB / 0.9581 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6798, allocations: 5.125 kB / 0.9581 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.6798, allocations: 1.156 kB / 0.9581 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.68, allocations: 462.9 kB / 0.9586 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.6803, allocations: 239.4 kB / 0.9588 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.6806, allocations: 0.6976 MB / 0.9595 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.6807, allocations: 51.94 kB / 0.9595 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.6808, allocations: 13.38 kB / 0.9596 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6808, allocations: 0 / 0.9596 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.004151/0.6849, allocations: 1.665 MB / 0.9612 GB, free: 14.54 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