Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008317/0.0008317, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002057, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006856/0.0006856, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002038, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.974/0.974, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09751/1.072, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5112/2.41, allocations: 123.3 MB / 0.728 GB, free: 5.848 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.608e-05, allocations: 9.766 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002174/0.0022, allocations: 0.7105 MB / 0.7301 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 6.345e-05/0.002263, allocations: 7.984 kB / 0.7301 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.002304, allocations: 6.688 kB / 0.7301 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.55e-05/0.00237, allocations: 4.766 kB / 0.7301 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.002406, allocations: 0.6562 kB / 0.7301 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.004e-05/0.002476, allocations: 3.984 kB / 0.7301 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.002604, allocations: 40.91 kB / 0.7302 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.002712, allocations: 31.91 kB / 0.7302 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.002782, allocations: 22.06 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.002823, allocations: 14.02 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.002849, allocations: 5.406 kB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.002858, allocations: 0 / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.00289, allocations: 10.95 kB / 0.7302 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.002921, allocations: 6.406 kB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003029, allocations: 36.36 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-05/0.003049, allocations: 0 / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00305, allocations: 0.625 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.003071, allocations: 0.5 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004335/0.003504, allocations: 259.2 kB / 0.7305 GB, free: 3.344 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.003538, allocations: 8.031 kB / 0.7305 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.003575, allocations: 9.469 kB / 0.7305 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.003708, allocations: 126.6 kB / 0.7307 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003719, allocations: 5.359 kB / 0.7307 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.003729, allocations: 4.375 kB / 0.7307 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.003833, allocations: 54.61 kB / 0.7307 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.003842, allocations: 192 / 0.7307 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.003849, allocations: 1.812 kB / 0.7307 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.003855, allocations: 384 / 0.7307 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.003882, allocations: 21.02 kB / 0.7307 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.004161, allocations: 344.3 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/0.004221, allocations: 173.7 kB / 0.7312 GB, free: 2.559 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.004239, allocations: 80.69 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.004254, allocations: 79.91 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.004287, allocations: 105.8 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.004288, allocations: 5.719 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.126e-05/0.00434, allocations: 33.19 kB / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.004397, allocations: 134.6 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.004474, allocations: 118.7 kB / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.004482, allocations: 26.52 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.004523, allocations: 92.05 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.004529, allocations: 0.5 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.004554, allocations: 17.7 kB / 0.7319 GB, free: 1.824 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.004628, allocations: 315.4 kB / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.004634, allocations: 1.188 kB / 0.7322 GB, free: 1.508 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.004641, allocations: 7.938 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.004669, allocations: 5.734 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.004673, allocations: 3.938 kB / 0.7322 GB, free: 1.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.429e-05/0.004737, allocations: 38.31 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.00475, allocations: 8.688 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004754, allocations: 0 / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004764, allocations: 1.75 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.004825, allocations: 4 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.004829, allocations: 0 / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.004844, allocations: 7.938 kB / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.004852, allocations: 0 / 0.7323 GB, free: 1.426 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.179e-05/0.004924, allocations: 192.4 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.004959, allocations: 110 kB / 0.7326 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.005, allocations: 104.5 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-05/0.005044, allocations: 184.2 kB / 0.7328 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.934e-05/0.005084, allocations: 176.8 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/0.005126, allocations: 189.3 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.005253, allocations: 321.4 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.617e-05/0.005299, allocations: 109 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.005323, allocations: 109.6 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.005355, allocations: 108.9 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.005457, allocations: 185.2 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.005498, allocations: 180.3 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.485e-05/0.005533, allocations: 180.2 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-05/0.005571, allocations: 188.8 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.005659, allocations: 305.5 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.005702, allocations: 184.2 kB / 0.735 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.005751, allocations: 105.2 kB / 0.7351 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.005791, allocations: 180.2 kB / 0.7353 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.005814, allocations: 109 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.005836, allocations: 26.05 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005836, allocations: 0 / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001124/0.005948, allocations: 4 kB / 0.7354 GB, free: 14.07 MB / 0.7136 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 9.613e-05/0.006044, allocations: 153.3 kB / 0.7355 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.253e-05/0.006097, allocations: 8.797 kB / 0.7355 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.006101, allocations: 0.75 kB / 0.7355 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.006103, allocations: 4 kB / 0.7355 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.006354, allocations: 456.3 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.006574, allocations: 208.5 kB / 0.7362 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.006605, allocations: 59.34 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.93e-05/0.006625, allocations: 1.062 kB / 0.7362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.006661, allocations: 51.38 kB / 0.7363 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/0.006662, allocations: 0 / 0.7363 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.001847/0.00851, allocations: 365.6 kB / 0.7366 GB, free: 12.75 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 4.952329684048891]