Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001069/0.001069, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002719, allocations: 440 kB / 10.41 MB, free: 284 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.0009939/0.0009939, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002339, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.031/1.031, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0901/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.336/2.336, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2628/2.599, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.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_latest_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_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.813e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002435/0.002463, allocations: 0.8945 MB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.004124, allocations: 1.213 MB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.004204, allocations: 4 kB / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.004304, allocations: 23.8 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.004392, allocations: 15.81 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.004849, allocations: 143.6 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.005337, allocations: 347.4 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.005521, allocations: 59.58 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.0058, allocations: 219.7 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.006077, allocations: 151.7 kB / 0.8219 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.00615, allocations: 36 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006281, allocations: 40 kB / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.006344, allocations: 35.86 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.006459, allocations: 71.94 kB / 0.8221 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.006835, allocations: 267.3 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.00685, allocations: 0 / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.503e-06/0.006852, allocations: 0 / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.006869, allocations: 0 / 0.8223 GB, free: 15 MB / 0.8073 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.0008327/0.007702, allocations: 0.5124 MB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.007741, allocations: 8.031 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.007836, allocations: 32.91 kB / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.008133, allocations: 174.9 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.008175, allocations: 20.36 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.00823, allocations: 24.38 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.008434, allocations: 117.7 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.008444, allocations: 192 / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.008462, allocations: 16.3 kB / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008469, allocations: 384 / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.008547, allocations: 35.92 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.009188, allocations: 345.4 kB / 0.8236 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.009322, allocations: 94.39 kB / 0.8237 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.009361, allocations: 24.84 kB / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.009382, allocations: 0 / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.00956, allocations: 122 kB / 0.8238 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.009562, allocations: 0 / 0.8238 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002519/0.009814, allocations: 121.7 kB / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.009855, allocations: 59.34 kB / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.009985, allocations: 174.5 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.01003, allocations: 29.7 kB / 0.8242 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.01012, allocations: 132.4 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.01015, allocations: 47.62 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.01029, allocations: 77.62 kB / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.01039, allocations: 326.8 kB / 0.8247 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.01059, allocations: 159.9 kB / 0.8249 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.01079, allocations: 214.3 kB / 0.8251 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.01105, allocations: 253.4 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01105, allocations: 3.938 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004907/0.01154, allocations: 421 kB / 0.8257 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.018e-05/0.01161, allocations: 98.34 kB / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01162, allocations: 0 / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01163, allocations: 4.219 kB / 0.8258 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01173, allocations: 19.94 kB / 0.8258 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01174, allocations: 7.938 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.01201, allocations: 71.78 kB / 0.8259 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.01205, allocations: 15.98 kB / 0.8259 GB, free: 10.95 MB / 0.8073 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 0.0001244/0.01217, allocations: 138.8 kB / 0.8261 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.0122, allocations: 19.98 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.01239, allocations: 101.9 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01239, allocations: 0 / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01239, allocations: 3.938 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.0124, allocations: 0 / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.01254, allocations: 113.8 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01254, allocations: 4 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.0126, allocations: 15.94 kB / 0.8263 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01262, allocations: 11.91 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01262, allocations: 0 / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01264, allocations: 7.984 kB / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01264, allocations: 4 kB / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01264, allocations: 0 / 0.8263 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.0128, allocations: 130.6 kB / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01282, allocations: 0 / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.01286, allocations: 8 kB / 0.8265 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.01291, allocations: 22.73 kB / 0.8265 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01292, allocations: 8 kB / 0.8265 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.01297, allocations: 41.06 kB / 0.8265 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01297, allocations: 0 / 0.8265 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002705/0.01324, allocations: 71.83 kB / 0.8266 GB, free: 10.21 MB / 0.8073 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.0001531/0.0134, allocations: 92.41 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.01381, allocations: 408 kB / 0.8271 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.01382, allocations: 4 kB / 0.8271 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/0.01389, allocations: 47.25 kB / 0.8271 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01418, allocations: 295.9 kB / 0.8274 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.01492, allocations: 324.9 kB / 0.8277 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.01498, allocations: 79.83 kB / 0.8278 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.01504, allocations: 21.42 kB / 0.8278 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.01526, allocations: 103.3 kB / 0.8279 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.01526, allocations: 0 / 0.8279 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of Templates: time 0.007461/0.02272, allocations: 4.395 MB / 0.8322 GB, free: 4.375 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands/Buildings_latest_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.25232810433954]