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.005045/0.005045, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001188/0.001188, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.134/2.134, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 65.3 kB / 0.9509 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2642, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001432/0.2657, allocations: 0.6076 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.266, allocations: 67.84 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.2661, allocations: 4 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.2661, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.2662, allocations: 11.92 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2665, allocations: 39.95 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.2665, allocations: 31.89 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.2666, allocations: 4 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.2666, allocations: 11.94 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2668, allocations: 67.88 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2668, allocations: 0 / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.2669, allocations: 35.97 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2669, allocations: 19.97 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.267, allocations: 23.81 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2671, allocations: 63.78 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2671, allocations: 0 / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2671, allocations: 4 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2671, allocations: 0 / 1.089 GB, free: 468 kB / 0.8419 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.0003233/0.2674, allocations: 359.5 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2675, allocations: 16.02 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2675, allocations: 8.844 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.2676, allocations: 168.3 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2676, allocations: 384 / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2677, allocations: 4.375 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2679, allocations: 187.4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2679, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2679, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.2679, allocations: 19.98 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.268, allocations: 47.83 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.2686, allocations: 0.9023 MB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.2687, allocations: 177.4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.2687, allocations: 80.14 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2687, allocations: 75.31 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.2688, allocations: 113.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2688, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.044e-05/0.2689, allocations: 41.55 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.269, allocations: 387.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2691, allocations: 169.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2692, allocations: 25.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.2692, allocations: 147.1 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-06/0.2693, allocations: 11.98 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.2693, allocations: 49.61 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.2694, allocations: 322.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.2695, allocations: 27.97 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.2696, allocations: 226.5 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.2698, allocations: 193.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2698, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002622/0.2701, allocations: 189.5 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2701, allocations: 4.094 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2701, allocations: 11.94 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2701, allocations: 11.88 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2702, allocations: 43.92 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2702, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.2703, allocations: 27.69 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2704, allocations: 20.33 kB / 1.093 GB, free: 11.96 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.0001046/0.2705, allocations: 209 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.2705, allocations: 120.8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.2706, allocations: 116.9 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/0.2706, allocations: 180.2 kB / 1.093 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.549e-05/0.2707, allocations: 180.2 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/0.2707, allocations: 184.2 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.271, allocations: 425.2 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/0.271, allocations: 102.4 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.271, allocations: 109 kB / 1.094 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.554e-05/0.2711, allocations: 184.2 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.2711, allocations: 176.3 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.086e-05/0.2712, allocations: 188.1 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.772e-05/0.2713, allocations: 180.3 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2714, allocations: 315.7 kB / 1.095 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.2714, allocations: 182 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.2715, allocations: 188.2 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.2716, allocations: 113.2 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2717, allocations: 184.2 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.2717, allocations: 101 kB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.2718, allocations: 118.2 kB / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2718, allocations: 0 / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002712/0.2721, allocations: 24 kB / 1.096 GB, free: 8.234 MB / 0.8575 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.0001613/0.2722, allocations: 187.1 kB / 1.096 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2724, allocations: 81 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2724, allocations: 3.938 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.2724, allocations: 7.938 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2727, allocations: 469.4 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.273, allocations: 228.9 kB / 1.097 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2732, allocations: 0.6968 MB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.2733, allocations: 56.58 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.2734, allocations: 15.44 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2734, allocations: 0 / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of Templates: time 0.003596/0.277, allocations: 1.677 MB / 1.1 GB, free: 4.805 MB / 0.8575 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