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.002504/0.002504, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003076/0.003076, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 4.629e-06/4.629e-06, allocations: 4 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/3.024e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001659/0.00169, allocations: 0.6158 MB / 0.8781 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.001996, allocations: 68.64 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.002016, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.002064, allocations: 3.938 kB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.002108, allocations: 11.36 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.002392, allocations: 49.23 kB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.002458, allocations: 25.67 kB / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.925e-05/0.002487, allocations: 0 / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.002554, allocations: 28.61 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.002768, allocations: 67.92 kB / 0.8783 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.002786, allocations: 1.844 kB / 0.8783 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.002904, allocations: 43.88 kB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.002945, allocations: 19.92 kB / 0.8784 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.002975, allocations: 15.92 kB / 0.8784 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003132, allocations: 71.84 kB / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003134, allocations: 3.594 kB / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003135, allocations: 0 / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003138, allocations: 0 / 0.8785 GB, free: 5.598 MB / 0.8386 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.0004479/0.003586, allocations: 388.2 kB / 0.8789 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.003624, allocations: 16.02 kB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.003676, allocations: 8.891 kB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.003781, allocations: 116.5 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.003795, allocations: 4.359 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.003813, allocations: 8.375 kB / 0.879 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.004184, allocations: 386.8 kB / 0.8794 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.004195, allocations: 8.109 kB / 0.8794 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.004211, allocations: 8.125 kB / 0.8794 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.004269, allocations: 25 kB / 0.8794 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.004323, allocations: 23.92 kB / 0.8794 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.005324, allocations: 1.212 MB / 0.8806 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.005503, allocations: 269.4 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.005576, allocations: 126.9 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.005642, allocations: 120.2 kB / 0.8811 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005746, allocations: 164.5 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.005746, allocations: 0 / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.792e-05/0.005844, allocations: 34.69 kB / 0.8813 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004433/0.006288, allocations: 435.6 kB / 0.8817 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.006551, allocations: 223.8 kB / 0.8819 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.006573, allocations: 30.23 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.006745, allocations: 207 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.006749, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.00685, allocations: 64.22 kB / 0.8822 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003029/0.007153, allocations: 0.4923 MB / 0.8827 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.007188, allocations: 15.92 kB / 0.8827 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/0.007741, allocations: 0.5403 MB / 0.8833 GB, free: 172 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.008069, allocations: 246.3 kB / 0.8835 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.008075, allocations: 4 kB / 0.8835 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003902/0.008465, allocations: 171.9 kB / 0.8837 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.008489, allocations: 12.64 kB / 0.8837 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.008501, allocations: 8 kB / 0.8837 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.008527, allocations: 8 kB / 0.8837 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.008677, allocations: 39.92 kB / 0.8837 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.008692, allocations: 8 kB / 0.8837 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.008798, allocations: 31.78 kB / 0.8838 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.008817, allocations: 11.94 kB / 0.8838 GB, free: 15.55 MB / 0.8542 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.0002308/0.009048, allocations: 291.6 kB / 0.884 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.009185, allocations: 168.8 kB / 0.8842 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.009311, allocations: 160.7 kB / 0.8844 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/0.009454, allocations: 268 kB / 0.8846 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001316/0.009585, allocations: 268.1 kB / 0.8849 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/0.009722, allocations: 272.1 kB / 0.8851 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.01008, allocations: 0.5153 MB / 0.8856 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.522e-05/0.01016, allocations: 144.9 kB / 0.8858 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.01023, allocations: 152.8 kB / 0.8859 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.01038, allocations: 264.1 kB / 0.8862 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.01052, allocations: 272.1 kB / 0.8864 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001341/0.01065, allocations: 272 kB / 0.8867 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001295/0.01078, allocations: 264.1 kB / 0.8869 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.01106, allocations: 451.9 kB / 0.8874 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.01117, allocations: 164.8 kB / 0.8875 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.01133, allocations: 272.1 kB / 0.8878 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01146, allocations: 148.9 kB / 0.8879 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.01159, allocations: 268 kB / 0.8882 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.01166, allocations: 144.9 kB / 0.8883 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001084/0.01177, allocations: 157.5 kB / 0.8885 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01177, allocations: 0 / 0.8885 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000388/0.01216, allocations: 28 kB / 0.8885 GB, free: 10.51 MB / 0.8542 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.0002583/0.01242, allocations: 226.4 kB / 0.8887 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.01259, allocations: 79.47 kB / 0.8888 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0126, allocations: 0 / 0.8888 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.0126, allocations: 0 / 0.8888 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.01316, allocations: 0.7218 MB / 0.8895 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.01353, allocations: 274.9 kB / 0.8898 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.01362, allocations: 79.92 kB / 0.8898 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.01377, allocations: 56.58 kB / 0.8899 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.0138, allocations: 12.5 kB / 0.8899 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of SimCode: time 4.5e-07/0.0138, allocations: 0 / 0.8899 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of Templates: time 0.005205/0.019, allocations: 1.821 MB / 0.8917 GB, free: 7.258 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] 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: 8.698778457008302]