Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001087/0.001087, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001046/0.001046, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8649, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00195/0.8669, allocations: 0.6045 MB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.8673, allocations: 67.78 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.8673, allocations: 0 / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.8674, allocations: 3.938 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.8674, allocations: 4 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.8678, allocations: 51.88 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.8679, allocations: 27.91 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.868, allocations: 4 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.868, allocations: 11.98 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.8682, allocations: 67.88 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.8682, allocations: 0 / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.8684, allocations: 35.95 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.8684, allocations: 19.98 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.8685, allocations: 19.81 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.8686, allocations: 67.8 kB / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8686, allocations: 0 / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8686, allocations: 0 / 1.168 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8686, allocations: 0 / 1.168 GB, free: 2.875 MB / 0.8887 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.0004257/0.8691, allocations: 375.2 kB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8691, allocations: 8.031 kB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.8692, allocations: 4.938 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.8693, allocations: 168.4 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.8693, allocations: 384 / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8693, allocations: 4.359 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.8696, allocations: 180.2 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.8696, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.8697, allocations: 11.97 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.8697, allocations: 31.91 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.309e-05/0.8698, allocations: 35.91 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.8705, allocations: 0.904 MB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.51e-05/0.8706, allocations: 165.1 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.8707, allocations: 88.14 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.8707, allocations: 75.28 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.8708, allocations: 109.8 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8708, allocations: 3.938 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.03e-05/0.8709, allocations: 37.59 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.871, allocations: 391.7 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.8712, allocations: 172.3 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.8713, allocations: 29.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.8714, allocations: 147.1 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.8714, allocations: 3.938 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.8715, allocations: 57.61 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8716, allocations: 322.8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.8717, allocations: 27.97 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.8718, allocations: 223.3 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.8721, allocations: 209.7 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8721, allocations: 4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003174/0.8724, allocations: 189.7 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.8724, allocations: 8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8724, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.8725, allocations: 11.94 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.8726, allocations: 35.92 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.8726, allocations: 8 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.566e-05/0.8727, allocations: 23.84 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8727, allocations: 11.94 kB / 1.172 GB, free: 14.38 MB / 0.9044 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.0001386/0.8729, allocations: 225 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.873, allocations: 108.9 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.873, allocations: 115.3 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.177e-05/0.8731, allocations: 192.1 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-05/0.8732, allocations: 176.3 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.785e-05/0.8732, allocations: 180.2 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.8735, allocations: 425.2 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.8735, allocations: 101 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.8735, allocations: 108.9 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-05/0.8736, allocations: 180.3 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.8737, allocations: 184.2 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.893e-05/0.8738, allocations: 180.2 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.8738, allocations: 184.3 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.874, allocations: 307.7 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.8741, allocations: 193.9 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.8741, allocations: 184.3 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.8742, allocations: 108.9 kB / 1.175 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.8743, allocations: 184.2 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.8744, allocations: 101 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.8744, allocations: 117.9 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8745, allocations: 0 / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003147/0.8748, allocations: 28 kB / 1.176 GB, free: 10.64 MB / 0.9044 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.0002193/0.875, allocations: 190.5 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.8752, allocations: 75.72 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8752, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.8752, allocations: 1.641 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.8756, allocations: 475.7 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.8759, allocations: 250.5 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.8762, allocations: 0.6968 MB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.8762, allocations: 15.44 kB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.8762, allocations: 0 / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of Templates: time 0.003624/0.8799, allocations: 1.723 MB / 1.179 GB, free: 7.188 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches