Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001296/0.001296, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002077/0.003373, allocations: 449.8 kB / 10.44 MB, free: 252 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.001221/0.001221, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002903, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9712/0.9712, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09458/1.066, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.805/1.805, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5444/2.349, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.251e-05, allocations: 4.094 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002221/0.002243, allocations: 0.8878 MB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.003812, allocations: 1.215 MB / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.003881, allocations: 0 / 0.7317 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.587e-05/0.003956, allocations: 17.17 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.004025, allocations: 14.83 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.00436, allocations: 146.6 kB / 0.7319 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.004751, allocations: 350.9 kB / 0.7322 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.004912, allocations: 64.66 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.005141, allocations: 220.6 kB / 0.7325 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.005384, allocations: 151.7 kB / 0.7326 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.67e-05/0.005451, allocations: 32.5 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.005574, allocations: 44 kB / 0.7327 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.005629, allocations: 41.11 kB / 0.7327 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.005714, allocations: 67.94 kB / 0.7328 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.005984, allocations: 263.3 kB / 0.733 GB, free: 1.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.005994, allocations: 0.7812 kB / 0.733 GB, free: 1.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005995, allocations: 0 / 0.733 GB, free: 1.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.006008, allocations: 0.625 kB / 0.733 GB, free: 1.016 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006526/0.006661, allocations: 0.5133 MB / 0.7335 GB, free: 468 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.006693, allocations: 8.031 kB / 0.7335 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.006753, allocations: 32.91 kB / 0.7336 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.00696, allocations: 179.9 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.006988, allocations: 24.36 kB / 0.7338 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.007023, allocations: 25.78 kB / 0.7338 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.007166, allocations: 109.7 kB / 0.7339 GB, free: 52 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.007173, allocations: 192 / 0.7339 GB, free: 52 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.007188, allocations: 12.89 kB / 0.7339 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.007192, allocations: 384 / 0.7339 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.007238, allocations: 37.17 kB / 0.7339 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.007668, allocations: 346.7 kB / 0.7343 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.007759, allocations: 94.41 kB / 0.7344 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.007787, allocations: 28.78 kB / 0.7344 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.007803, allocations: 0.5 kB / 0.7344 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.007928, allocations: 123.7 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.007929, allocations: 0 / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001657/0.008095, allocations: 116.3 kB / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.008124, allocations: 63.34 kB / 0.7347 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.008217, allocations: 177.1 kB / 0.7349 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.008247, allocations: 33.7 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.008315, allocations: 136.3 kB / 0.735 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.008335, allocations: 35.69 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.008423, allocations: 78.28 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.008495, allocations: 326.8 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.008623, allocations: 161.2 kB / 0.7356 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.008757, allocations: 215.9 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.008923, allocations: 261.6 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.008925, allocations: 1.344 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000317/0.009242, allocations: 419 kB / 0.7364 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.009297, allocations: 98.22 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009301, allocations: 0 / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.009313, allocations: 4 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.009388, allocations: 16.91 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.009393, allocations: 7.938 kB / 0.7366 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.009564, allocations: 69.08 kB / 0.7366 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.009591, allocations: 17.17 kB / 0.7366 GB, free: 12.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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.842e-05/0.009679, allocations: 141.3 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.009695, allocations: 11.98 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.00983, allocations: 103.9 kB / 0.7369 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.009832, allocations: 0.9062 kB / 0.7369 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.009835, allocations: 3.938 kB / 0.7369 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009838, allocations: 1.031 kB / 0.7369 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.009935, allocations: 117.8 kB / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009937, allocations: 0 / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.009975, allocations: 13.16 kB / 0.737 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.009985, allocations: 11.91 kB / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009987, allocations: 0 / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.009997, allocations: 16.62 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009999, allocations: 0 / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01, allocations: 0.75 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.0101, allocations: 126.6 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.01012, allocations: 0.75 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.01014, allocations: 8 kB / 0.7372 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.01017, allocations: 20.89 kB / 0.7372 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01018, allocations: 7.938 kB / 0.7372 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.01021, allocations: 44.8 kB / 0.7373 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01021, allocations: 0 / 0.7373 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001568/0.01037, allocations: 71.83 kB / 0.7373 GB, free: 12.24 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: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000117/0.01048, allocations: 93.72 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01077, allocations: 405.5 kB / 0.7378 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01078, allocations: 4 kB / 0.7378 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.01083, allocations: 52.02 kB / 0.7379 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01106, allocations: 291.2 kB / 0.7381 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.01159, allocations: 320.3 kB / 0.7384 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.01163, allocations: 86.86 kB / 0.7385 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.01167, allocations: 13.48 kB / 0.7385 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.01182, allocations: 95.33 kB / 0.7386 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01182, allocations: 3.938 kB / 0.7386 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.004963/0.01678, allocations: 4.396 MB / 0.7429 GB, free: 6.559 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.007996436208487]