Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0007705/0.0007705, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009547/0.001725, 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.0006674/0.0006674, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.00155, 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.9302/0.9302, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09707/1.027, 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.911/1.911, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5189/2.43, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.78e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001137/0.001155, allocations: 0.7084 MB / 0.7301 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 6.151e-05/0.001216, allocations: 15.92 kB / 0.7301 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.001262, allocations: 2.812 kB / 0.7301 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.791e-05/0.00134, allocations: 5.469 kB / 0.7301 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.00138, allocations: 0 / 0.7301 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.284e-05/0.001423, allocations: 8 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.001533, allocations: 24.47 kB / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.001677, allocations: 27.97 kB / 0.7302 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.001743, allocations: 18.39 kB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.001792, allocations: 14.45 kB / 0.7302 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.001823, allocations: 4 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.001836, allocations: 5.406 kB / 0.7302 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.001877, allocations: 6.516 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.001911, allocations: 10.08 kB / 0.7302 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.00203, allocations: 36.91 kB / 0.7303 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-05/0.002048, allocations: 0 / 0.7303 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002048, allocations: 4.688 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.002067, allocations: 0 / 0.7303 GB, free: 3.629 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.000356/0.002423, allocations: 258.2 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.002455, allocations: 9.953 kB / 0.7305 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.002485, allocations: 8.938 kB / 0.7305 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.002603, allocations: 121.7 kB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.002612, allocations: 0.9688 kB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.00262, allocations: 9.188 kB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.617e-05/0.002716, allocations: 50.06 kB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.002726, allocations: 4.172 kB / 0.7307 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.002733, allocations: 1.641 kB / 0.7307 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.002739, allocations: 5.625 kB / 0.7307 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.002762, allocations: 15.88 kB / 0.7307 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.003058, allocations: 345.2 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.003123, allocations: 173.9 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.003145, allocations: 80.14 kB / 0.7313 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.003164, allocations: 84.47 kB / 0.7314 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.0032, allocations: 105.8 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.003201, allocations: 1.719 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.45e-05/0.003256, allocations: 41.12 kB / 0.7315 GB, free: 2.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.003307, allocations: 126.7 kB / 0.7316 GB, free: 2.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.003385, allocations: 118.7 kB / 0.7317 GB, free: 1.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.003392, allocations: 27.61 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.003437, allocations: 92.05 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/0.003443, allocations: 1.531 kB / 0.7319 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.003464, allocations: 17.7 kB / 0.7319 GB, free: 1.836 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.003541, allocations: 318.8 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.003547, allocations: 0 / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.003552, allocations: 0.875 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.00358, allocations: 8.859 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.003583, allocations: 4.844 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.215e-05/0.003645, allocations: 48.02 kB / 0.7322 GB, free: 1.449 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.003657, allocations: 4 kB / 0.7322 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.003661, allocations: 0 / 0.7322 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.00367, allocations: 4 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.00372, allocations: 0 / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.003723, allocations: 0.5 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.003736, allocations: 9.141 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.003745, allocations: 7.938 kB / 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 6.64e-05/0.003811, allocations: 191.9 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.003844, allocations: 101.6 kB / 0.7325 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.003881, allocations: 113.5 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/0.003929, allocations: 180.3 kB / 0.7328 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/0.003972, allocations: 188.2 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.004011, allocations: 177 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.004135, allocations: 325.4 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/0.004169, allocations: 106.2 kB / 0.7336 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.004191, allocations: 101 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.004225, allocations: 116.8 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.001e-05/0.004265, allocations: 176.3 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.00431, allocations: 193.3 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-05/0.00435, allocations: 180.2 kB / 0.7343 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.754e-05/0.004388, allocations: 176.8 kB / 0.7345 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.41e-05/0.004482, allocations: 307.7 kB / 0.7348 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.004534, allocations: 185.8 kB / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.004583, allocations: 105.3 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.00463, allocations: 180.3 kB / 0.7352 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.004655, allocations: 109 kB / 0.7353 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.958e-05/0.004675, allocations: 22.05 kB / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004675, allocations: 0 / 0.7354 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001076/0.004783, allocations: 4 kB / 0.7354 GB, free: 14.09 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.416e-05/0.004877, allocations: 153 kB / 0.7355 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.004932, allocations: 8.859 kB / 0.7355 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.004935, allocations: 0.7812 kB / 0.7355 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.004936, allocations: 0 / 0.7355 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.005196, allocations: 468.2 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.005398, allocations: 204.5 kB / 0.7362 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.005433, allocations: 63.34 kB / 0.7362 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.005453, allocations: 0.75 kB / 0.7362 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.00549, allocations: 51.38 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.005491, allocations: 0.8125 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.001776/0.007267, allocations: 359.1 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.913212993182242]