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.001102/0.001102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002666, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001453/0.001453, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.003005, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9469/0.9469, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08273/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.364/2.364, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2317/2.596, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.326e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001255/0.001279, allocations: 0.6707 MB / 0.819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001521/0.001431, allocations: 75.78 kB / 0.8191 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.001452, allocations: 0 / 0.8191 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.001469, allocations: 0 / 0.8191 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.001493, allocations: 11.94 kB / 0.8191 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.001676, allocations: 39.88 kB / 0.8191 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.001739, allocations: 19.98 kB / 0.8192 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.001778, allocations: 15.92 kB / 0.8192 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.001822, allocations: 19.97 kB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.00198, allocations: 67.94 kB / 0.8193 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.001993, allocations: 0 / 0.8193 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.002104, allocations: 55.92 kB / 0.8193 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.002133, allocations: 11.94 kB / 0.8193 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.00215, allocations: 11.94 kB / 0.8193 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.002262, allocations: 59.81 kB / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.002277, allocations: 0 / 0.8194 GB, free: 1.793 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002278, allocations: 4 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.002294, allocations: 0 / 0.8194 GB, free: 1.789 MB / 0.7917 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.000295/0.002589, allocations: 272.5 kB / 0.8197 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.002618, allocations: 8.625 kB / 0.8197 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.00265, allocations: 16.86 kB / 0.8197 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.281e-05/0.002713, allocations: 109.7 kB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.002726, allocations: 8.375 kB / 0.8198 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.002737, allocations: 4.375 kB / 0.8198 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.002942, allocations: 374.1 kB / 0.8201 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002948, allocations: 192 / 0.8201 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.002959, allocations: 8.125 kB / 0.8202 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.003005, allocations: 23.98 kB / 0.8202 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.003038, allocations: 27.86 kB / 0.8202 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.003464, allocations: 0.7836 MB / 0.821 GB, free: 16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.828e-05/0.003522, allocations: 173.1 kB / 0.8211 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.003544, allocations: 80.14 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.003562, allocations: 75.28 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.003599, allocations: 117.8 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.003599, allocations: 0 / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.637e-05/0.003666, allocations: 41.56 kB / 0.8214 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.003713, allocations: 126.7 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.003807, allocations: 170.4 kB / 0.8217 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.003821, allocations: 29.7 kB / 0.8217 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.003883, allocations: 151.5 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.00389, allocations: 3.984 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.003932, allocations: 53.64 kB / 0.8219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.004008, allocations: 314.8 kB / 0.8222 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.00402, allocations: 15.98 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.004205, allocations: 474 kB / 0.8227 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.004326, allocations: 180.6 kB / 0.8229 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.004329, allocations: 0 / 0.8229 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001444/0.004474, allocations: 153.8 kB / 0.823 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.004487, allocations: 8 kB / 0.823 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.004494, allocations: 11.86 kB / 0.8231 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004505, allocations: 8 kB / 0.8231 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.004602, allocations: 39.92 kB / 0.8231 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.004608, allocations: 11.94 kB / 0.8231 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.004668, allocations: 23.84 kB / 0.8231 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.004677, allocations: 12 kB / 0.8231 GB, free: 13.46 MB / 0.8073 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 8.351e-05/0.004761, allocations: 215.8 kB / 0.8234 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.004804, allocations: 109 kB / 0.8235 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.004841, allocations: 112.7 kB / 0.8236 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.004882, allocations: 184.2 kB / 0.8237 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-05/0.004924, allocations: 188.3 kB / 0.8239 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/0.004966, allocations: 184.2 kB / 0.8241 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.005102, allocations: 333.4 kB / 0.8244 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/0.005127, allocations: 104.9 kB / 0.8245 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.005156, allocations: 105 kB / 0.8246 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.005195, allocations: 112.9 kB / 0.8247 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.412e-05/0.005239, allocations: 180.2 kB / 0.8249 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.005288, allocations: 180.3 kB / 0.8251 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.111e-05/0.005339, allocations: 188.2 kB / 0.8252 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.53e-05/0.005384, allocations: 180.2 kB / 0.8254 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.005505, allocations: 319.7 kB / 0.8257 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.005573, allocations: 176.3 kB / 0.8259 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.005633, allocations: 112.9 kB / 0.826 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.005687, allocations: 180.3 kB / 0.8262 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.005714, allocations: 104.9 kB / 0.8263 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.005749, allocations: 32.81 kB / 0.8263 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005749, allocations: 0 / 0.8263 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002104/0.00596, allocations: 24 kB / 0.8263 GB, free: 10.03 MB / 0.8073 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.0001738/0.006133, allocations: 171.6 kB / 0.8265 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.006244, allocations: 71.06 kB / 0.8266 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.006255, allocations: 4 kB / 0.8266 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.006255, allocations: 0 / 0.8266 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006453, allocations: 483.6 kB / 0.827 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.006691, allocations: 232.1 kB / 0.8272 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.006727, allocations: 63.94 kB / 0.8273 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.978e-05/0.006797, allocations: 28.64 kB / 0.8273 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.006917, allocations: 111.3 kB / 0.8274 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of SimCode: time 5.72e-07/0.006918, allocations: 4 kB / 0.8274 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of Templates: time 0.003436/0.01035, allocations: 1.854 MB / 0.8292 GB, free: 7.023 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141783799044788]