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.001493/0.001493, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00156/0.00156, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.88 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9693, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001731/0.9711, allocations: 0.6026 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00034/0.9714, allocations: 71.62 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.9715, allocations: 1.094 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.9715, allocations: 1.312 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.9716, allocations: 9.25 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.9719, allocations: 44.19 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.972, allocations: 29.53 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.9721, allocations: 6.984 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.9721, allocations: 13.73 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.9723, allocations: 64.11 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.9723, allocations: 0.875 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.9724, allocations: 36.48 kB / 1.09 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.9725, allocations: 19.44 kB / 1.09 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.9725, allocations: 18.41 kB / 1.09 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.9727, allocations: 71.38 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.9727, allocations: 1.922 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9727, allocations: 3.938 kB / 1.09 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9727, allocations: 0 / 1.09 GB, free: 5.008 MB / 0.8575 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.0003426/0.9731, allocations: 357.2 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9731, allocations: 10.78 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.9732, allocations: 8.281 kB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.9732, allocations: 167.4 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9733, allocations: 1.094 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.9733, allocations: 6.578 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.9736, allocations: 181.8 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9736, allocations: 0 / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.9736, allocations: 7.281 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.9737, allocations: 24.36 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.9738, allocations: 39.94 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.9744, allocations: 0.9066 MB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.818e-05/0.9745, allocations: 170.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.9745, allocations: 97.81 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.9745, allocations: 75.28 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.9745, allocations: 108.7 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.9746, allocations: 0 / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.988e-05/0.9746, allocations: 36.09 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.9748, allocations: 394.9 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.975, allocations: 167.7 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.975, allocations: 27.23 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.9751, allocations: 154.5 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.9751, allocations: 2.484 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.9752, allocations: 57.12 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.9752, allocations: 319.5 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.9753, allocations: 26.11 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.9755, allocations: 230.1 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.9756, allocations: 199.1 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9756, allocations: 1.219 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003454/0.976, allocations: 187.9 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.976, allocations: 7.469 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.976, allocations: 4.891 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.9761, allocations: 10.44 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.9762, allocations: 39.17 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.9763, allocations: 10 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.9764, allocations: 27.58 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.9764, allocations: 10.16 kB / 1.094 GB, free: 1.23 MB / 0.8575 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.0001141/0.9765, allocations: 219.3 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.9766, allocations: 111.9 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.9767, allocations: 118.7 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/0.9767, allocations: 185.5 kB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-05/0.9768, allocations: 182.4 kB / 1.094 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/0.9769, allocations: 177.8 kB / 1.094 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.9771, allocations: 423 kB / 1.095 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/0.9772, allocations: 105.7 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.9772, allocations: 105.9 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.831e-05/0.9773, allocations: 181.9 kB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/0.9773, allocations: 178.7 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.637e-05/0.9774, allocations: 189.7 kB / 1.096 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.717e-05/0.9775, allocations: 185.6 kB / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.9776, allocations: 310 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.9777, allocations: 185.9 kB / 1.096 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.9778, allocations: 187.9 kB / 1.096 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.9779, allocations: 112.7 kB / 1.097 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.978, allocations: 177.4 kB / 1.097 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.978, allocations: 107.2 kB / 1.097 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001067/0.9781, allocations: 116.5 kB / 1.097 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9782, allocations: 0 / 1.097 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003682/0.9785, allocations: 26.44 kB / 1.097 GB, free: 13.63 MB / 0.8731 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.0002455/0.9788, allocations: 190.9 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.979, allocations: 76.2 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.979, allocations: 0.8125 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.979, allocations: 2.422 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.9794, allocations: 471.9 kB / 1.098 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.9797, allocations: 248.7 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.98, allocations: 0.6916 MB / 1.099 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.9801, allocations: 16.03 kB / 1.099 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9801, allocations: 0 / 1.099 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.004788/0.9848, allocations: 1.72 MB / 1.1 GB, free: 11.93 MB / 0.8731 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/jenkins1/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