Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001581/0.001581, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001774/0.001774, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.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 3.303/3.303, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_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.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 67.52 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3716, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002114/0.3737, allocations: 0.6633 MB / 1.355 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001728/0.3738, allocations: 15.92 kB / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.3739, allocations: 0 / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.374, allocations: 0 / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.374, allocations: 7.938 kB / 1.355 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.3741, allocations: 11.92 kB / 1.355 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3743, allocations: 35.97 kB / 1.355 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3744, allocations: 20 kB / 1.355 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.3744, allocations: 23.92 kB / 1.355 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.3745, allocations: 11.94 kB / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3745, allocations: 3.938 kB / 1.355 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.3745, allocations: 4 kB / 1.355 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.3745, allocations: 11.92 kB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.3746, allocations: 23.86 kB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3747, allocations: 51.75 kB / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3747, allocations: 0 / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3747, allocations: 0 / 1.355 GB, free: 7.043 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3747, allocations: 0 / 1.355 GB, free: 7.043 MB / 1.045 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.0003725/0.3751, allocations: 278.2 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3751, allocations: 8.031 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3752, allocations: 12.88 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3753, allocations: 110.5 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3753, allocations: 4.375 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3753, allocations: 4.375 kB / 1.355 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3755, allocations: 86.09 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3755, allocations: 192 / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3755, allocations: 7.938 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3755, allocations: 0 / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.3756, allocations: 47.97 kB / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3761, allocations: 466.6 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.3762, allocations: 165.1 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.3763, allocations: 84.17 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.3763, allocations: 83.27 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.3764, allocations: 117.8 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3764, allocations: 0 / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.268e-05/0.3765, allocations: 25.7 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.3765, allocations: 126.7 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.3768, allocations: 175.6 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3768, allocations: 25.7 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.3769, allocations: 104.1 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3769, allocations: 0 / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3769, allocations: 13.72 kB / 1.357 GB, free: 4.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3771, allocations: 318.8 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.3772, allocations: 4 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.3772, allocations: 15.98 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.3772, allocations: 12.8 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3772, allocations: 64 / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001289/0.3774, allocations: 65.56 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3774, allocations: 4 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3774, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3774, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.3774, allocations: 4 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3774, allocations: 4.047 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.3775, allocations: 15.88 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3775, allocations: 0 / 1.357 GB, free: 4.512 MB / 1.045 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 0.0001293/0.3776, allocations: 205.1 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3777, allocations: 108.9 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.3778, allocations: 116.8 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.875e-05/0.3779, allocations: 184.2 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-05/0.378, allocations: 180.2 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.499e-05/0.3781, allocations: 176.3 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3784, allocations: 396.2 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/0.3784, allocations: 105 kB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.3785, allocations: 108.9 kB / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.132e-05/0.3786, allocations: 180.2 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.3787, allocations: 176.3 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.549e-05/0.3788, allocations: 188.2 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.182e-05/0.3789, allocations: 184.2 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3791, allocations: 312.3 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3791, allocations: 112.9 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3792, allocations: 184.2 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.3793, allocations: 109.3 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.3794, allocations: 184.1 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.3795, allocations: 105 kB / 1.36 GB, free: 1.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3796, allocations: 133 kB / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 1.361 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002237/0.3798, allocations: 4 kB / 1.361 GB, free: 0.9336 MB / 1.045 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.0001596/0.38, allocations: 170.5 kB / 1.361 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.3801, allocations: 23.97 kB / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3801, allocations: 0 / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3801, allocations: 0 / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.3806, allocations: 461.8 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.3809, allocations: 233.9 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3813, allocations: 0.6981 MB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3814, allocations: 7.438 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3814, allocations: 0 / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Templates: time 0.002368/0.3837, allocations: 0.773 MB / 1.363 GB, free: 14.52 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 11.885101143998327]