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.001304/0.001304, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001619/0.001619, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.076/3.076, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|conCom.y1.2.|conCom.y1.3.|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.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.807e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002426/0.002464, allocations: 0.8241 MB / 1.001 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.004488, allocations: 1.182 MB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.004618, allocations: 4 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.004803, allocations: 23.8 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.004957, allocations: 11.88 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.005617, allocations: 144.6 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.006199, allocations: 343.3 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.006421, allocations: 70.91 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.006787, allocations: 211.7 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.007133, allocations: 139.8 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.007243, allocations: 36 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.00739, allocations: 51.86 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.007484, allocations: 47.89 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.007711, allocations: 111.8 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007873/0.008498, allocations: 446.9 kB / 1.004 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.008502, allocations: 0 / 1.004 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/0.008504, allocations: 4 kB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.008519, allocations: 3.938 kB / 1.004 GB, free: 3.664 MB / 0.9512 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.001601/0.01012, allocations: 0.5064 MB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.01017, allocations: 15.98 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.01034, allocations: 32.83 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.0109, allocations: 226.1 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.01097, allocations: 16.38 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.738e-05/0.01104, allocations: 24.36 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.01143, allocations: 182.1 kB / 1.005 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.01145, allocations: 4.172 kB / 1.005 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.01147, allocations: 4.375 kB / 1.005 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.01148, allocations: 8.312 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.01174, allocations: 147.8 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01282, allocations: 0.535 MB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01306, allocations: 130.4 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01318, allocations: 64.81 kB / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.0132, allocations: 0 / 1.005 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.01348, allocations: 179.2 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.01348, allocations: 3.938 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0006203/0.0141, allocations: 308.5 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.01416, allocations: 51.41 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.01438, allocations: 190.2 kB / 1.006 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.01444, allocations: 41.7 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01458, allocations: 140.4 kB / 1.006 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.01463, allocations: 39.69 kB / 1.006 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.01481, allocations: 85.62 kB / 1.006 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.01498, allocations: 330.8 kB / 1.007 GB, free: 260 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.01545, allocations: 316.9 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.01593, allocations: 383.7 kB / 1.007 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.01645, allocations: 397.7 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.01646, allocations: 4 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001094/0.01755, allocations: 0.7296 MB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.01763, allocations: 93.09 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01764, allocations: 4 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01766, allocations: 8.156 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01778, allocations: 27.92 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01778, allocations: 0 / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.01835, allocations: 99.77 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.0184, allocations: 23.98 kB / 1.009 GB, free: 14.03 MB / 0.9669 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.0001965/0.0186, allocations: 170.3 kB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.01864, allocations: 15.91 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.01904, allocations: 235.2 kB / 1.009 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.01904, allocations: 7.938 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01905, allocations: 0 / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01905, allocations: 0 / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.01929, allocations: 189.2 kB / 1.009 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01929, allocations: 0 / 1.009 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.01936, allocations: 11.98 kB / 1.009 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.01936, allocations: 4 kB / 1.009 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01938, allocations: 11.94 kB / 1.009 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01938, allocations: 0 / 1.009 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01938, allocations: 3.938 kB / 1.009 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01975, allocations: 251.7 kB / 1.01 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.01977, allocations: 11.91 kB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.0198, allocations: 7.938 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.01985, allocations: 7.984 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.01991, allocations: 19.92 kB / 1.01 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.01993, allocations: 7.984 kB / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001346/0.02006, allocations: 135.2 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02006, allocations: 0 / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003315/0.02039, allocations: 71.89 kB / 1.01 GB, free: 12.82 MB / 0.9669 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.0001912/0.02059, allocations: 117.9 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008688/0.02145, allocations: 0.618 MB / 1.011 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02146, allocations: 0 / 1.011 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.02162, allocations: 87.88 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.02194, allocations: 42.91 kB / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.02267, allocations: 378.7 kB / 1.011 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.02281, allocations: 140 kB / 1.011 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.0229, allocations: 33.47 kB / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.02294, allocations: 16.5 kB / 1.011 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of SimCode: time 6.32e-07/0.02294, allocations: 3.938 kB / 1.011 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.009883/0.03283, allocations: 4.017 MB / 1.015 GB, free: 7.355 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.487059630453587]