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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008007/0.008007, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001252/0.001252, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 67.89 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3539, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00184/0.3557, allocations: 0.6069 MB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003579/0.3561, allocations: 71.78 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.3562, allocations: 4 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.3562, allocations: 3.938 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.3563, allocations: 7.984 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3566, allocations: 43.91 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.3567, allocations: 23.95 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.3568, allocations: 4 kB / 1.209 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.3568, allocations: 8 kB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.357, allocations: 71.86 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3571, allocations: 4 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3572, allocations: 35.97 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.3572, allocations: 19.92 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.3573, allocations: 19.81 kB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3574, allocations: 75.77 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3574, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3574, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.609e-06/0.3575, allocations: 0 / 1.209 GB, free: 8.605 MB / 0.9669 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.0003716/0.3578, allocations: 359.4 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3579, allocations: 12.62 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.3579, allocations: 8.844 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.358, allocations: 164.4 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3581, allocations: 4.359 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3581, allocations: 8.312 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.3584, allocations: 171.5 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3584, allocations: 8 kB / 1.209 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.3584, allocations: 3.984 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.3585, allocations: 27.92 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.3585, allocations: 35.91 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.3592, allocations: 0.9023 MB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.3593, allocations: 165.1 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.3594, allocations: 84.14 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3594, allocations: 83.28 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.3595, allocations: 109.8 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.3595, allocations: 3.938 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.835e-05/0.3596, allocations: 37.61 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.3598, allocations: 387.7 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3599, allocations: 168.3 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3599, allocations: 29.7 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.36, allocations: 151.1 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-06/0.3601, allocations: 3.984 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.3601, allocations: 53.61 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3602, allocations: 322.8 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.3603, allocations: 27.97 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3605, allocations: 226.5 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3607, allocations: 197.7 kB / 1.212 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.3607, allocations: 4 kB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003025/0.361, allocations: 193.7 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.361, allocations: 8 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3611, allocations: 8.031 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3611, allocations: 11.94 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3612, allocations: 39.92 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3612, allocations: 7.984 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.3613, allocations: 27.78 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3613, allocations: 8 kB / 1.213 GB, free: 4.121 MB / 0.9669 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.0001263/0.3615, allocations: 217 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.3616, allocations: 116.9 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.3616, allocations: 116.9 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-05/0.3617, allocations: 188.1 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.75e-05/0.3617, allocations: 180.2 kB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-05/0.3618, allocations: 180.2 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.362, allocations: 417.2 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/0.3621, allocations: 105 kB / 1.214 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3621, allocations: 108.9 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.304e-05/0.3622, allocations: 180.3 kB / 1.214 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.3623, allocations: 180.7 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.578e-05/0.3623, allocations: 180.2 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.956e-05/0.3624, allocations: 180.3 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3625, allocations: 319.9 kB / 1.215 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3626, allocations: 190 kB / 1.215 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.3627, allocations: 184.3 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.3628, allocations: 112.9 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.3629, allocations: 188.2 kB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.3629, allocations: 101 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.363, allocations: 117.5 kB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.363, allocations: 96 / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003154/0.3633, allocations: 31.94 kB / 1.216 GB, free: 392 kB / 0.9669 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.0002018/0.3635, allocations: 194.5 kB / 1.216 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.3637, allocations: 75.78 kB / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3637, allocations: 0 / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3637, allocations: 0 / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3641, allocations: 472.8 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.3644, allocations: 230.2 kB / 1.217 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3647, allocations: 0.6929 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.3649, allocations: 56.59 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.3649, allocations: 15.44 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3649, allocations: 0 / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.004255/0.3692, allocations: 1.685 MB / 1.219 GB, free: 12.96 MB / 0.9825 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 -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/jenkins/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