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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001203, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.88/2.88, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.27 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3977, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.0024/0.4002, allocations: 0.896 MB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4018, allocations: 1.186 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.4019, allocations: 0 / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.4021, allocations: 11.92 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.4022, allocations: 11.92 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.4026, allocations: 131 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.403, allocations: 307.4 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.4032, allocations: 102.5 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4033, allocations: 119.7 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.4035, allocations: 107.6 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.4036, allocations: 16 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.4037, allocations: 35.98 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.4037, allocations: 43.84 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.4039, allocations: 119.5 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.4043, allocations: 375.3 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4043, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4043, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4043, allocations: 0 / 1.055 GB, free: 5.387 MB / 0.8106 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.0009059/0.4052, allocations: 0.5702 MB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4053, allocations: 8.031 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.4054, allocations: 32.73 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.4057, allocations: 277.3 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.4058, allocations: 20.38 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.4058, allocations: 28.36 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.4062, allocations: 182.6 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4062, allocations: 192 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.4062, allocations: 15.92 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4063, allocations: 4 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.4065, allocations: 147.9 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009524/0.4074, allocations: 0.6601 MB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4077, allocations: 126.4 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4078, allocations: 80.8 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4078, allocations: 3.938 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.4081, allocations: 175.2 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.456e-06/0.4081, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005291/0.4086, allocations: 304.1 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4087, allocations: 51.41 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.4089, allocations: 198.2 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.4089, allocations: 37.7 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4091, allocations: 132.4 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.4091, allocations: 39.39 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.4093, allocations: 85.66 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4094, allocations: 330.8 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.4098, allocations: 219.8 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4102, allocations: 283.6 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.4106, allocations: 389.1 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4106, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000904/0.4116, allocations: 0.6321 MB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.321e-05/0.4116, allocations: 98.19 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4117, allocations: 224 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4117, allocations: 8 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4118, allocations: 19.92 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4118, allocations: 4 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.4124, allocations: 103.7 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.4124, allocations: 19.98 kB / 1.061 GB, free: 15.82 MB / 0.8262 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.0001782/0.4126, allocations: 175 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4127, allocations: 19.75 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.413, allocations: 227.4 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.413, allocations: 4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4131, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4131, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.4133, allocations: 277.4 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4133, allocations: 4 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.4134, allocations: 15.94 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4134, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4134, allocations: 11.98 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4135, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4135, allocations: 0 / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.4138, allocations: 240.8 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4138, allocations: 96.84 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4139, allocations: 12 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.4139, allocations: 3.938 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.414, allocations: 19.97 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.414, allocations: 4 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001115/0.4142, allocations: 140.2 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.452e-06/0.4142, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003085/0.4145, allocations: 71.78 kB / 1.062 GB, free: 14.43 MB / 0.8262 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.0001696/0.4147, allocations: 111.2 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007127/0.4154, allocations: 0.5671 MB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4154, allocations: 0 / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4155, allocations: 91.94 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.4159, allocations: 36.34 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.4165, allocations: 437.9 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.4168, allocations: 0.7477 MB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.4169, allocations: 29.41 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.417, allocations: 15.44 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.417, allocations: 4 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.007439/0.4244, allocations: 3.58 MB / 1.067 GB, free: 8.766 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) 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) Reference file matches