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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001574/0.001574, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001801/0.001801, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.53 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2585, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001815/0.2604, allocations: 0.6159 MB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00033/0.2608, allocations: 71.84 kB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.2608, allocations: 0 / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.2608, allocations: 3.938 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.2609, allocations: 4 kB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2612, allocations: 51.88 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.053e-05/0.2613, allocations: 15.98 kB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.2613, allocations: 11.98 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.2614, allocations: 8 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2615, allocations: 71.86 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2616, allocations: 4 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.2617, allocations: 35.97 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.2617, allocations: 19.92 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2618, allocations: 23.86 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2619, allocations: 67.73 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2619, allocations: 0 / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2619, allocations: 4 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2619, allocations: 0 / 0.9521 GB, free: 7.055 MB / 0.7325 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.0003333/0.2623, allocations: 359.4 kB / 0.9524 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.2623, allocations: 12.03 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2624, allocations: 8.844 kB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.2625, allocations: 164.4 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2625, allocations: 4.359 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2625, allocations: 8.375 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.2627, allocations: 177.1 kB / 0.9528 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2627, allocations: 0 / 0.9528 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2628, allocations: 3.984 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.2628, allocations: 31.91 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.2629, allocations: 39.91 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.2635, allocations: 0.9022 MB / 0.9538 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.2636, allocations: 169.1 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.2636, allocations: 80.14 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2637, allocations: 83.27 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.2637, allocations: 109.8 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2637, allocations: 3.938 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.455e-05/0.2638, allocations: 37.64 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.2639, allocations: 391.7 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.2641, allocations: 167.7 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2641, allocations: 25.7 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.2642, allocations: 147.1 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.2642, allocations: 7.984 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.2643, allocations: 53.61 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2644, allocations: 322.8 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.2644, allocations: 31.91 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.2646, allocations: 222.5 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2648, allocations: 201.7 kB / 0.9557 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2648, allocations: 0 / 0.9557 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002983/0.2651, allocations: 197.1 kB / 0.9559 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2651, allocations: 8 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2651, allocations: 4 kB / 0.9559 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2651, allocations: 7.938 kB / 0.9559 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.2653, allocations: 39.92 kB / 0.956 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2653, allocations: 4.594 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.2654, allocations: 35.69 kB / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2654, allocations: 12 kB / 0.956 GB, free: 2.562 MB / 0.7325 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.0001161/0.2655, allocations: 211 kB / 0.9562 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.2656, allocations: 118.9 kB / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.2656, allocations: 116.9 kB / 0.9564 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/0.2657, allocations: 188.1 kB / 0.9566 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.2658, allocations: 180.3 kB / 0.9568 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.334e-05/0.2658, allocations: 180.3 kB / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.266, allocations: 425.1 kB / 0.9574 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/0.2661, allocations: 105 kB / 0.9575 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.2661, allocations: 104.9 kB / 0.9576 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.2662, allocations: 184.2 kB / 0.9577 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.2662, allocations: 176.3 kB / 0.9579 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-05/0.2663, allocations: 188.1 kB / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.036e-05/0.2663, allocations: 180.3 kB / 0.9583 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2665, allocations: 311.7 kB / 0.9586 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.2666, allocations: 190 kB / 0.9587 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.2667, allocations: 180.3 kB / 0.9589 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.2667, allocations: 108.9 kB / 0.959 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.649e-05/0.2668, allocations: 184.5 kB / 0.9592 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.2669, allocations: 105 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.2669, allocations: 119.6 kB / 0.9594 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2669, allocations: 4.094 kB / 0.9594 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003123/0.2673, allocations: 31.94 kB / 0.9594 GB, free: 14.83 MB / 0.7481 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.0001967/0.2675, allocations: 182.5 kB / 0.9596 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2676, allocations: 84.88 kB / 0.9597 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2676, allocations: 4.125 kB / 0.9597 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.2676, allocations: 4 kB / 0.9597 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.268, allocations: 468.6 kB / 0.9602 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.2683, allocations: 228.7 kB / 0.9604 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.2686, allocations: 0.6968 MB / 0.9611 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.2688, allocations: 56.59 kB / 0.9611 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2688, allocations: 11.44 kB / 0.9611 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.2688, allocations: 4 kB / 0.9611 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.004268/0.2731, allocations: 1.646 MB / 0.9627 GB, free: 11.43 MB / 0.7481 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 -s gbode -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