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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 173.9 kB / 23.22 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.77/1.77, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.982e-05, allocations: 8.75 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009677/0.0009875, allocations: 0.6032 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00025/0.001237, allocations: 71.84 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.001258, allocations: 4 kB / 1.002 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.001289, allocations: 7.922 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.001332, allocations: 7.938 kB / 1.002 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.0016, allocations: 43.94 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.001657, allocations: 19.92 kB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.001694, allocations: 8 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.001728, allocations: 19.95 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.00189, allocations: 71.94 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.001904, allocations: 7.938 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.001984, allocations: 43.88 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.002017, allocations: 23.91 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.002035, allocations: 8 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.002149, allocations: 75.84 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00215, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002151, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.002154, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 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.0002523/0.002406, allocations: 290.1 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.002439, allocations: 8.75 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.002474, allocations: 12.89 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.221e-05/0.002526, allocations: 113.7 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.002535, allocations: 384 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.002542, allocations: 384 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.002787, allocations: 436.9 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.002794, allocations: 4.125 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.002806, allocations: 8.062 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.002835, allocations: 23.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.002883, allocations: 39.91 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.003315, allocations: 0.8397 MB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.003371, allocations: 173.1 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.003393, allocations: 80.14 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.003412, allocations: 75.28 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.003449, allocations: 121.7 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.00345, allocations: 0 / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.542e-05/0.003506, allocations: 37.66 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.003609, allocations: 387.7 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.003714, allocations: 176 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.003725, allocations: 29.7 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.003781, allocations: 151.5 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.003784, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.003826, allocations: 61.66 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.003898, allocations: 322.8 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.003928, allocations: 27.92 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.004226, allocations: 483.5 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.004349, allocations: 205.7 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.004352, allocations: 0 / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001928/0.004545, allocations: 193.7 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.004557, allocations: 9.719 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.004564, allocations: 4 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.004577, allocations: 4 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.004663, allocations: 43.92 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.004671, allocations: 7.938 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.004723, allocations: 27.78 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.004734, allocations: 19.94 kB / 1.006 GB, free: 7.027 MB / 0.9636 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 7.569e-05/0.00481, allocations: 209 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.004847, allocations: 113.1 kB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.00488, allocations: 116.8 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/0.004918, allocations: 184.2 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-05/0.004957, allocations: 177 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/0.004994, allocations: 180.2 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.005119, allocations: 376.8 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.005141, allocations: 104.9 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.005163, allocations: 112.9 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.65e-05/0.005199, allocations: 180.3 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.005238, allocations: 180.4 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.683e-05/0.005275, allocations: 184.2 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-05/0.005311, allocations: 188.2 kB / 1.008 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.005399, allocations: 315.7 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.005431, allocations: 116.9 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.005482, allocations: 180.3 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.005531, allocations: 108.9 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.005571, allocations: 180.3 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.005593, allocations: 105 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.005643, allocations: 121.6 kB / 1.009 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005643, allocations: 3.938 kB / 1.009 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002009/0.005844, allocations: 31.94 kB / 1.009 GB, free: 3.449 MB / 0.9636 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.0001228/0.005967, allocations: 186.5 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006067, allocations: 71.78 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006068, allocations: 0 / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.006069, allocations: 1.406 kB / 1.01 GB, free: 3.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.006305, allocations: 471.6 kB / 1.01 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.006524, allocations: 250.3 kB / 1.01 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.006578, allocations: 87.83 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.006594, allocations: 16.5 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.006594, allocations: 0 / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.002208/0.008802, allocations: 1.74 MB / 1.012 GB, free: 0.5977 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.564055711962283]