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.00144/0.00144, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001584/0.001584, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.425/1.425, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 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 2.86/2.86, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] 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.924e-06/1.924e-06, allocations: 0 / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.906e-05, allocations: 2.281 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001751/0.00178, allocations: 0.6092 MB / 1.001 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004236/0.002204, allocations: 75.72 kB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.002237, allocations: 0 / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.002273, allocations: 3.984 kB / 1.001 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.00233, allocations: 7.938 kB / 1.001 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.002657, allocations: 47.88 kB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.523e-05/0.002732, allocations: 23.98 kB / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.002771, allocations: 0 / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.002822, allocations: 31.89 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.003042, allocations: 63.94 kB / 1.001 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.00306, allocations: 0 / 1.001 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.003178, allocations: 47.94 kB / 1.001 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.003223, allocations: 23.91 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.003246, allocations: 4 kB / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.003412, allocations: 75.78 kB / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.003415, allocations: 0 / 1.001 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003415, allocations: 4 kB / 1.001 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.003425, allocations: 0 / 1.001 GB, free: 6.207 MB / 0.9512 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.0003943/0.00382, allocations: 290.2 kB / 1.001 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.003854, allocations: 12.03 kB / 1.001 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.003895, allocations: 8.891 kB / 1.001 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.003991, allocations: 109.7 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.004003, allocations: 4.375 kB / 1.002 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.004019, allocations: 4.359 kB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.004471, allocations: 436.8 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.004481, allocations: 192 / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.004504, allocations: 12.11 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.004551, allocations: 27.98 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.004643, allocations: 35.91 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008613/0.005505, allocations: 0.8435 MB / 1.003 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.005618, allocations: 169.1 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.005672, allocations: 84.08 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.005719, allocations: 79.22 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.835e-05/0.005808, allocations: 117.8 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005809, allocations: 0 / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.951e-05/0.005908, allocations: 37.66 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/0.006149, allocations: 387.7 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.006341, allocations: 180.3 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.006374, allocations: 25.7 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.006492, allocations: 155.5 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.006496, allocations: 3.938 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.006603, allocations: 57.66 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.006773, allocations: 318.8 kB / 1.004 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.006826, allocations: 27.92 kB / 1.004 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.007238, allocations: 484.1 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.007503, allocations: 201.8 kB / 1.005 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.007508, allocations: 4 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003931/0.007902, allocations: 193.2 kB / 1.005 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.007921, allocations: 8 kB / 1.005 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.007929, allocations: 4 kB / 1.005 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.007955, allocations: 8 kB / 1.005 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.008097, allocations: 39.92 kB / 1.005 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.00811, allocations: 8.5 kB / 1.005 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.008224, allocations: 31.78 kB / 1.005 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.008243, allocations: 19.94 kB / 1.005 GB, free: 1.297 MB / 0.9512 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.0001926/0.008436, allocations: 213 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.00856, allocations: 112.9 kB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.008638, allocations: 120.7 kB / 1.006 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001044/0.008742, allocations: 176.3 kB / 1.006 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.854e-05/0.008841, allocations: 176.3 kB / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.212e-05/0.008933, allocations: 184.2 kB / 1.006 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.009241, allocations: 376.9 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.559e-05/0.009306, allocations: 104.9 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.009356, allocations: 105 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.906e-05/0.009455, allocations: 180.3 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/0.009552, allocations: 184.3 kB / 1.007 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-05/0.009635, allocations: 184.2 kB / 1.007 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/0.009745, allocations: 188.4 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.009949, allocations: 319.6 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.01003, allocations: 116.9 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.01013, allocations: 180.3 kB / 1.008 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.01023, allocations: 104.9 kB / 1.008 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.01033, allocations: 180.3 kB / 1.008 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.01038, allocations: 104.9 kB / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01048, allocations: 130.5 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01048, allocations: 0 / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003289/0.01081, allocations: 28 kB / 1.009 GB, free: 13.71 MB / 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.0002421/0.01105, allocations: 182.5 kB / 1.009 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01123, allocations: 73.03 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01123, allocations: 64 / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.01124, allocations: 4 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.01171, allocations: 467.7 kB / 1.009 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.01207, allocations: 224.6 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.01217, allocations: 79.84 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001979/0.01237, allocations: 60.58 kB / 1.01 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.01239, allocations: 16.5 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.01239, allocations: 0 / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.005238/0.01763, allocations: 1.802 MB / 1.012 GB, free: 10.84 MB / 0.9669 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: 7.969538651406765]