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.001422/0.001422, allocations: 108.5 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.001496/0.001496, 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.15 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.335/2.335, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 59.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001919/1.038, allocations: 0.6028 MB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003755/1.038, allocations: 76.8 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/1.038, allocations: 1.188 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/1.038, allocations: 4.453 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/1.038, allocations: 5.062 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/1.038, allocations: 44.7 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/1.039, allocations: 25.19 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/1.039, allocations: 2.875 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.739e-05/1.039, allocations: 22.16 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/1.039, allocations: 64.22 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/1.039, allocations: 1.656 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/1.039, allocations: 39.69 kB / 1.09 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/1.039, allocations: 19.53 kB / 1.09 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/1.039, allocations: 18.72 kB / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/1.039, allocations: 71.08 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.039, allocations: 0.6094 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.524e-06/1.039, allocations: 1.125 kB / 1.09 GB, free: 5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.039, allocations: 0 / 1.09 GB, free: 5 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.0003785/1.04, allocations: 357.8 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.04, allocations: 9.531 kB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/1.04, allocations: 9.312 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/1.04, allocations: 162.6 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/1.04, allocations: 5.469 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/1.04, allocations: 7.375 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/1.04, allocations: 182 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.04, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/1.04, allocations: 10.75 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/1.04, allocations: 24.67 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/1.04, allocations: 36.3 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/1.041, allocations: 0.9072 MB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/1.041, allocations: 170.3 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/1.041, allocations: 84.14 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/1.041, allocations: 80.97 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.041, allocations: 115.8 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.041, allocations: 0 / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.773e-05/1.041, allocations: 36.53 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.041, allocations: 386.7 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/1.042, allocations: 164.2 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.042, allocations: 34.86 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/1.042, allocations: 150.2 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/1.042, allocations: 7.547 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/1.042, allocations: 52.11 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.042, allocations: 323.5 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/1.042, allocations: 25.61 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.042, allocations: 225.6 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/1.042, allocations: 206.6 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.042, allocations: 0.875 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003453/1.043, allocations: 192.8 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.043, allocations: 6.344 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.043, allocations: 4.75 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.043, allocations: 10.94 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.043, allocations: 38.41 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.043, allocations: 7.188 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.043, allocations: 30.34 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/1.043, allocations: 11.06 kB / 1.094 GB, free: 1.219 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.0001104/1.043, allocations: 218.9 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/1.043, allocations: 111.8 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/1.043, allocations: 110.7 kB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.556e-05/1.043, allocations: 185.9 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-05/1.043, allocations: 181.8 kB / 1.094 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/1.044, allocations: 182.3 kB / 1.094 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/1.044, allocations: 422.4 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/1.044, allocations: 102.6 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/1.044, allocations: 110.2 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.085e-05/1.044, allocations: 177.7 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/1.044, allocations: 182.2 kB / 1.095 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.945e-05/1.044, allocations: 186.3 kB / 1.096 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.577e-05/1.044, allocations: 181.9 kB / 1.096 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/1.044, allocations: 317.9 kB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/1.044, allocations: 189.5 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/1.044, allocations: 184.3 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/1.045, allocations: 116.5 kB / 1.097 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/1.045, allocations: 178.1 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.045, allocations: 102.8 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.716e-05/1.045, allocations: 115.7 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.045, allocations: 0 / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003526/1.045, allocations: 27.25 kB / 1.097 GB, free: 13.62 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.000239/1.045, allocations: 195.5 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001771/1.046, allocations: 75.44 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.046, allocations: 0.8438 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/1.046, allocations: 2.391 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/1.046, allocations: 468.1 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.0003432/1.046, allocations: 250.5 kB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.047, allocations: 0.6923 MB / 1.099 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.047, allocations: 15.12 kB / 1.099 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.047, allocations: 0 / 1.099 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.004808/1.052, allocations: 1.717 MB / 1.1 GB, free: 11.92 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