Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001207/0.001207, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001312/0.001312, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.188/2.188, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.94 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2398, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001568/0.2414, allocations: 0.6121 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.2417, allocations: 71.72 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.2418, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.2418, allocations: 3.984 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.2418, allocations: 11.94 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.2421, allocations: 39.94 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.2422, allocations: 23.97 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.2422, allocations: 7.938 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.2422, allocations: 7.984 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.2424, allocations: 67.89 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.2424, allocations: 0 / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.804e-05/0.2425, allocations: 43.95 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.2425, allocations: 19.92 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2426, allocations: 19.86 kB / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2427, allocations: 67.8 kB / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2427, allocations: 0 / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2427, allocations: 0 / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2427, allocations: 0 / 1.028 GB, free: 1.082 MB / 0.795 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.0003051/0.243, allocations: 364.7 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2431, allocations: 12.03 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2431, allocations: 12.84 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.257e-05/0.2432, allocations: 164.3 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.2432, allocations: 384 / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2432, allocations: 8.375 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.2434, allocations: 184.5 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2434, allocations: 0 / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2435, allocations: 0 / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.2435, allocations: 19.98 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.2436, allocations: 39.91 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.2441, allocations: 0.91 MB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.2442, allocations: 177.1 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.2442, allocations: 82.59 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2443, allocations: 75.28 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.2443, allocations: 109.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2443, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.53e-05/0.2444, allocations: 41.61 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.2445, allocations: 387.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2447, allocations: 163.4 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2447, allocations: 25.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.2448, allocations: 155 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.2448, allocations: 7.938 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.2449, allocations: 57.55 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.245, allocations: 330.8 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.245, allocations: 23.98 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2452, allocations: 224.4 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2453, allocations: 197.8 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2453, allocations: 4 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002545/0.2456, allocations: 185.3 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2456, allocations: 6.188 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2456, allocations: 8 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2456, allocations: 11.92 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2457, allocations: 43.92 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2458, allocations: 8.531 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.986e-05/0.2458, allocations: 31.69 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2459, allocations: 16 kB / 1.032 GB, free: 12.58 MB / 0.8106 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.0001102/0.246, allocations: 209 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.246, allocations: 112.9 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.2461, allocations: 124.8 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/0.2462, allocations: 180.2 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.2462, allocations: 180.3 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.566e-05/0.2463, allocations: 184.2 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2465, allocations: 421.2 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.2465, allocations: 104.9 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.762e-05/0.2465, allocations: 105 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.162e-05/0.2466, allocations: 184.2 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.2467, allocations: 180.3 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.418e-05/0.2467, allocations: 184.2 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.178e-05/0.2468, allocations: 188.2 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2469, allocations: 311.7 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.247, allocations: 186 kB / 1.034 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.247, allocations: 184.2 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.2471, allocations: 112.9 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2472, allocations: 184.6 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.2472, allocations: 104.9 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.2473, allocations: 116.8 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2473, allocations: 4 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002765/0.2476, allocations: 27.98 kB / 1.035 GB, free: 8.848 MB / 0.8106 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.0001562/0.2477, allocations: 186.5 kB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.2479, allocations: 77 kB / 1.035 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2479, allocations: 4.125 kB / 1.035 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2479, allocations: 0 / 1.035 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2482, allocations: 483.5 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.2485, allocations: 220.8 kB / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2487, allocations: 0.689 MB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000134/0.2488, allocations: 52.59 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.2489, allocations: 15.44 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2489, allocations: 4 kB / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.003522/0.2524, allocations: 1.666 MB / 1.038 GB, free: 5.434 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches