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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 191.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.23 kB / 1.109 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3368, allocations: 168.7 MB / 1.274 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002195/0.339, allocations: 0.8329 MB / 1.275 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3406, allocations: 1.179 MB / 1.276 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.3407, allocations: 0 / 1.276 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3408, allocations: 19.86 kB / 1.276 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.3409, allocations: 3.938 kB / 1.276 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.3414, allocations: 156 kB / 1.276 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.3419, allocations: 347.4 kB / 1.277 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3421, allocations: 66.48 kB / 1.277 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3422, allocations: 155.7 kB / 1.277 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.3425, allocations: 139.6 kB / 1.277 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.3425, allocations: 36 kB / 1.277 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3427, allocations: 47.92 kB / 1.277 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.3427, allocations: 47.84 kB / 1.277 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3429, allocations: 131.5 kB / 1.277 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.3434, allocations: 394.8 kB / 1.277 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3434, allocations: 0 / 1.277 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3434, allocations: 0 / 1.277 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3434, allocations: 0 / 1.277 GB, free: 7.805 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.0009508/0.3443, allocations: 0.5973 MB / 1.278 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3444, allocations: 16.02 kB / 1.278 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.3445, allocations: 28.8 kB / 1.278 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3449, allocations: 276.7 kB / 1.278 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.345, allocations: 20.36 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.345, allocations: 28.31 kB / 1.278 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3454, allocations: 178.1 kB / 1.279 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3454, allocations: 192 / 1.279 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3454, allocations: 19.88 kB / 1.279 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3454, allocations: 0 / 1.279 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3456, allocations: 147.9 kB / 1.279 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3467, allocations: 0.668 MB / 1.279 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3469, allocations: 118.5 kB / 1.28 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3471, allocations: 68.81 kB / 1.28 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3471, allocations: 7.938 kB / 1.28 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.3473, allocations: 183.3 kB / 1.28 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3473, allocations: 0 / 1.28 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005582/0.3479, allocations: 297.4 kB / 1.28 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3479, allocations: 55.41 kB / 1.28 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3482, allocations: 194.3 kB / 1.28 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.3482, allocations: 37.7 kB / 1.28 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3483, allocations: 132.5 kB / 1.28 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.3484, allocations: 39.69 kB / 1.28 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3485, allocations: 81.67 kB / 1.281 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3487, allocations: 326.8 kB / 1.281 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3491, allocations: 223.8 kB / 1.281 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.3495, allocations: 293.1 kB / 1.281 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.3501, allocations: 398.4 kB / 1.282 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3501, allocations: 0 / 1.282 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009877/0.3511, allocations: 0.6232 MB / 1.282 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/0.3511, allocations: 97.09 kB / 1.282 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3512, allocations: 0 / 1.282 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3512, allocations: 8.203 kB / 1.282 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3513, allocations: 19.94 kB / 1.282 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3513, allocations: 4 kB / 1.282 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.3518, allocations: 103.8 kB / 1.283 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/0.3519, allocations: 23.98 kB / 1.283 GB, free: 2.211 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.0002125/0.3521, allocations: 173.7 kB / 1.283 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3521, allocations: 23.78 kB / 1.283 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3525, allocations: 230 kB / 1.283 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3525, allocations: 4 kB / 1.283 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3525, allocations: 0 / 1.283 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3525, allocations: 0 / 1.283 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.3528, allocations: 277.4 kB / 1.283 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3528, allocations: 3.938 kB / 1.283 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.3529, allocations: 15.98 kB / 1.283 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3529, allocations: 0 / 1.283 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3529, allocations: 4 kB / 1.283 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3529, allocations: 7.922 kB / 1.283 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3529, allocations: 0 / 1.283 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.3533, allocations: 240.9 kB / 1.284 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.3534, allocations: 92.95 kB / 1.284 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.3534, allocations: 11.98 kB / 1.284 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.3534, allocations: 7.938 kB / 1.284 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3535, allocations: 15.98 kB / 1.284 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3535, allocations: 11.98 kB / 1.284 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001188/0.3536, allocations: 140.2 kB / 1.284 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3536, allocations: 0 / 1.284 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000309/0.3539, allocations: 67.89 kB / 1.284 GB, free: 0.8125 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.0001701/0.3541, allocations: 113.8 kB / 1.284 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007771/0.3549, allocations: 0.5174 MB / 1.284 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3549, allocations: 0 / 1.284 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.355, allocations: 89.42 kB / 1.285 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3553, allocations: 39.89 kB / 1.285 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.3561, allocations: 391.9 kB / 1.285 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.3565, allocations: 0.7513 MB / 1.286 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.929e-05/0.3566, allocations: 29.41 kB / 1.286 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.3567, allocations: 15.44 kB / 1.286 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3567, allocations: 0 / 1.286 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.007881/0.3645, allocations: 3.781 MB / 1.289 GB, free: 11.03 MB / 0.9981 GB " [Timeout remaining time 300] 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 -s gbode -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_2/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: 8.713847444858402]