Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001553/0.001553, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001754/0.001754, allocations: 221.1 kB / 23 MB, free: 4.914 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.738/2.738, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [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.002162/0.002162, allocations: 66.69 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002268/0.3188, allocations: 0.8083 MB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3205, allocations: 1.176 MB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.3206, allocations: 7.938 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.3207, allocations: 15.86 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3208, allocations: 15.86 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3213, allocations: 148.9 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.3218, allocations: 347.4 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.322, allocations: 68.81 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3221, allocations: 151.7 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3224, allocations: 155.6 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.3225, allocations: 32 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3226, allocations: 51.92 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.3227, allocations: 39.86 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3228, allocations: 123.7 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3233, allocations: 402.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3233, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3233, allocations: 4 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3233, allocations: 0 / 1.287 GB, free: 8.383 MB / 0.9825 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.0008757/0.3242, allocations: 0.5063 MB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3242, allocations: 12.03 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.3243, allocations: 28.83 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3247, allocations: 234.9 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.3248, allocations: 16.36 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.3248, allocations: 24.38 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3251, allocations: 175.4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3252, allocations: 4.188 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.3252, allocations: 11.94 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3252, allocations: 4 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.3254, allocations: 151.8 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.3264, allocations: 0.5389 MB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.3266, allocations: 126.4 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3267, allocations: 72.8 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3268, allocations: 0 / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.327, allocations: 181.7 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.327, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005404/0.3275, allocations: 301.5 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3276, allocations: 55.41 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.3278, allocations: 190.7 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.3278, allocations: 37.7 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.328, allocations: 136.4 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.328, allocations: 43.66 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3281, allocations: 85.66 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3283, allocations: 330.8 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.3287, allocations: 324.8 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.3292, allocations: 384.8 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.3297, allocations: 395.3 kB / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3297, allocations: 0 / 1.291 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001066/0.3307, allocations: 0.7413 MB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.3308, allocations: 97.09 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3308, allocations: 8 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3309, allocations: 3.938 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.331, allocations: 15.94 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.331, allocations: 7.984 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3315, allocations: 108 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.3315, allocations: 15.98 kB / 1.292 GB, free: 2.738 MB / 0.9825 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.0001909/0.3317, allocations: 167.5 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3318, allocations: 15.84 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.3322, allocations: 235.3 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3322, allocations: 4 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3322, allocations: 4 kB / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3322, allocations: 0 / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3324, allocations: 193.2 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3324, allocations: 0 / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.3325, allocations: 11.98 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.3325, allocations: 3.938 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3325, allocations: 8 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3325, allocations: 3.938 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3325, allocations: 0 / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.3328, allocations: 251.2 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3328, allocations: 15.91 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3329, allocations: 11.92 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.3329, allocations: 7.984 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.333, allocations: 15.98 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.333, allocations: 7.984 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001148/0.3331, allocations: 136.2 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3331, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003014/0.3334, allocations: 67.89 kB / 1.293 GB, free: 1.539 MB / 0.9825 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.0001518/0.3336, allocations: 115.2 kB / 1.294 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008212/0.3344, allocations: 0.6083 MB / 1.294 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3344, allocations: 3.938 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3345, allocations: 103.8 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3348, allocations: 40.33 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.3355, allocations: 424.9 kB / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3357, allocations: 131.9 kB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.3357, allocations: 19.38 kB / 1.295 GB, free: 16 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3357, allocations: 0 / 1.295 GB, free: 16 MB / 0.9981 GB Notification: Performance of Templates: time 0.005771/0.3415, allocations: 3.319 MB / 1.298 GB, free: 12.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.425281423144042]