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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006371/0.006371, allocations: 101.2 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 189.5 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.611/2.611, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002026/1.032, allocations: 0.8157 MB / 1.221 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001494/1.033, allocations: 1.179 MB / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/1.033, allocations: 0 / 1.223 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/1.033, allocations: 19.8 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/1.033, allocations: 3.938 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/1.034, allocations: 157.9 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/1.034, allocations: 343.3 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/1.035, allocations: 82.52 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/1.035, allocations: 147.7 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/1.035, allocations: 147.5 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/1.035, allocations: 32 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/1.035, allocations: 51.98 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/1.035, allocations: 51.83 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/1.035, allocations: 127.5 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004403/1.036, allocations: 403.3 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.036, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.984e-06/1.036, allocations: 4 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.036, allocations: 0 / 1.224 GB, free: 14.55 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.0008563/1.037, allocations: 0.5855 MB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.037, allocations: 12.02 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/1.037, allocations: 28.8 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/1.037, allocations: 280.7 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.037, allocations: 24.36 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/1.037, allocations: 20.38 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/1.038, allocations: 190.6 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.038, allocations: 192 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.038, allocations: 7.938 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.038, allocations: 4 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/1.038, allocations: 139.9 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/1.039, allocations: 0.6602 MB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/1.039, allocations: 134.4 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/1.039, allocations: 68.8 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/1.039, allocations: 3.938 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/1.039, allocations: 175.2 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/1.039, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0005153/1.04, allocations: 300.6 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/1.04, allocations: 59.41 kB / 1.227 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.04, allocations: 186.3 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/1.04, allocations: 37.7 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.04, allocations: 140.5 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/1.04, allocations: 39.67 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.04, allocations: 85.67 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.041, allocations: 326.8 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/1.041, allocations: 227.8 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.041, allocations: 278.6 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.042, allocations: 401.8 kB / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.042, allocations: 0 / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009036/1.043, allocations: 0.635 MB / 1.229 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/1.043, allocations: 97.09 kB / 1.229 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.043, allocations: 4 kB / 1.229 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.043, allocations: 7.984 kB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.043, allocations: 19.94 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/1.043, allocations: 0 / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/1.043, allocations: 107.8 kB / 1.229 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.043, allocations: 23.98 kB / 1.229 GB, free: 8.965 MB / 0.9512 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.0001617/1.044, allocations: 168.7 kB / 1.229 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/1.044, allocations: 15.84 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/1.044, allocations: 235.4 kB / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.044, allocations: 0 / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.044, allocations: 0 / 1.23 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.044, allocations: 4 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/1.044, allocations: 273.4 kB / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.044, allocations: 0 / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/1.044, allocations: 19.92 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.044, allocations: 0 / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.044, allocations: 4 kB / 1.23 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.044, allocations: 7.984 kB / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.044, allocations: 0 / 1.23 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/1.045, allocations: 244.8 kB / 1.23 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/1.045, allocations: 93.02 kB / 1.23 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/1.045, allocations: 3.984 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/1.045, allocations: 8 kB / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.045, allocations: 11.98 kB / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/1.045, allocations: 11.98 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001075/1.045, allocations: 140.2 kB / 1.23 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.045, allocations: 0 / 1.23 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003026/1.045, allocations: 67.89 kB / 1.23 GB, free: 7.578 MB / 0.9512 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.00016/1.045, allocations: 113.4 kB / 1.231 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006942/1.046, allocations: 0.5174 MB / 1.231 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.046, allocations: 3.938 kB / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/1.046, allocations: 83.94 kB / 1.231 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/1.047, allocations: 48.27 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.047, allocations: 402.1 kB / 1.232 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/1.048, allocations: 0.7435 MB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.265e-05/1.048, allocations: 33.41 kB / 1.232 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/1.048, allocations: 19.44 kB / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/1.048, allocations: 0 / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of Templates: time 0.0067/1.054, allocations: 3.755 MB / 1.236 GB, free: 1.816 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches