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.001077/0.001077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001594/0.002671, 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.001047/0.001047, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.00236, 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.9889/0.9889, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1106/1.1, 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.816/1.816, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5153/2.331, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.563e-06/1.563e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.932e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00152/0.001539, allocations: 0.8837 MB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.00266, allocations: 1.214 MB / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.002723, allocations: 0 / 0.7314 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.113e-05/0.002794, allocations: 16.52 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.002861, allocations: 23.23 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.003199, allocations: 142.5 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.003522, allocations: 343.5 kB / 0.7319 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.003668, allocations: 70.23 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.003862, allocations: 215.7 kB / 0.7321 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.004062, allocations: 157.1 kB / 0.7323 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.004111, allocations: 36 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.004207, allocations: 39.98 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.004256, allocations: 39.88 kB / 0.7324 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.713e-05/0.004343, allocations: 68.59 kB / 0.7325 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.004617, allocations: 264 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.571e-05/0.004633, allocations: 7.984 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004634, allocations: 1.719 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.004649, allocations: 0 / 0.7327 GB, free: 1.105 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.0006139/0.005263, allocations: 0.4968 MB / 0.7332 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.005294, allocations: 8.031 kB / 0.7332 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.005353, allocations: 37.78 kB / 0.7332 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.005562, allocations: 179.3 kB / 0.7334 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.005592, allocations: 24.88 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.005625, allocations: 20.38 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.005777, allocations: 118.5 kB / 0.7336 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005784, allocations: 192 / 0.7336 GB, free: 152 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005795, allocations: 5.359 kB / 0.7336 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.0058, allocations: 4.375 kB / 0.7336 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.005861, allocations: 36.8 kB / 0.7336 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.006491, allocations: 346 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.006593, allocations: 103.1 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.006621, allocations: 16.84 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.006644, allocations: 13.86 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.006784, allocations: 128.6 kB / 0.7342 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.006786, allocations: 4 kB / 0.7342 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001778/0.006964, allocations: 109.6 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006999, allocations: 63.94 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.007097, allocations: 172.5 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.007129, allocations: 37.7 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.007193, allocations: 132.3 kB / 0.7347 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.007217, allocations: 40.2 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.007305, allocations: 74.75 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.007375, allocations: 326.8 kB / 0.7351 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.007508, allocations: 163.9 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.007639, allocations: 209.7 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.007821, allocations: 262 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007823, allocations: 0 / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003115/0.008135, allocations: 420.1 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.008192, allocations: 94.34 kB / 0.7362 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008198, allocations: 4 kB / 0.7362 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.008207, allocations: 0 / 0.7362 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.008288, allocations: 24.88 kB / 0.7362 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.008293, allocations: 3.938 kB / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.008469, allocations: 65.55 kB / 0.7363 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.008498, allocations: 19.98 kB / 0.7363 GB, free: 13.08 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 9.582e-05/0.008593, allocations: 140.9 kB / 0.7365 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.008612, allocations: 13.14 kB / 0.7365 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.008756, allocations: 107.3 kB / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008758, allocations: 0 / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008761, allocations: 4.969 kB / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.008765, allocations: 0 / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.008872, allocations: 117.8 kB / 0.7367 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008874, allocations: 0.5625 kB / 0.7367 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.008918, allocations: 9.781 kB / 0.7367 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008929, allocations: 15.84 kB / 0.7367 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008931, allocations: 4 kB / 0.7367 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.00894, allocations: 7.984 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.008942, allocations: 0 / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008943, allocations: 1.219 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.00906, allocations: 129 kB / 0.7369 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.009076, allocations: 8 kB / 0.7369 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.009096, allocations: 1.312 kB / 0.7369 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.009136, allocations: 26.8 kB / 0.7369 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.009143, allocations: 4 kB / 0.7369 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.913e-05/0.009172, allocations: 36.81 kB / 0.7369 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009172, allocations: 2.75 kB / 0.7369 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001675/0.00934, allocations: 75.83 kB / 0.737 GB, free: 12.34 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.0001161/0.009456, allocations: 94.23 kB / 0.7371 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.009744, allocations: 402.4 kB / 0.7375 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.00975, allocations: 4 kB / 0.7375 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.00979, allocations: 36.78 kB / 0.7375 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.009944, allocations: 49.41 kB / 0.7376 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.01052, allocations: 322.9 kB / 0.7379 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.01056, allocations: 84.25 kB / 0.738 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.01061, allocations: 20.02 kB / 0.738 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.01077, allocations: 99.33 kB / 0.7381 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.01077, allocations: 0 / 0.7381 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.009161/0.01993, allocations: 4.464 MB / 0.7424 GB, free: 6.898 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.172277393750846]