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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006948/0.006948, allocations: 106.9 kB / 15.74 MB, free: 6.035 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.001645/0.001645, allocations: 196 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.08 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3547, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002468/0.3573, allocations: 0.8305 MB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3591, allocations: 1.178 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.3592, allocations: 4 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3594, allocations: 11.86 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3596, allocations: 15.86 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.3602, allocations: 148.8 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.3606, allocations: 367.4 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.3609, allocations: 114.4 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3611, allocations: 139.8 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.3614, allocations: 147.6 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.654e-05/0.3615, allocations: 32 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3617, allocations: 47.98 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.3617, allocations: 47.84 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3619, allocations: 131.5 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.3624, allocations: 407.1 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3624, allocations: 0 / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3625, allocations: 0 / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.3625, allocations: 0 / 1.211 GB, free: 6.574 MB / 0.9669 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.0009958/0.3635, allocations: 0.5741 MB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3635, allocations: 8.625 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.3636, allocations: 50.73 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.3637, allocations: 32.66 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.3642, allocations: 272.7 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.3642, allocations: 24.38 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.3643, allocations: 24.38 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.3646, allocations: 179.4 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3646, allocations: 7.922 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3647, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3647, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.3649, allocations: 147.8 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.366, allocations: 0.6756 MB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3662, allocations: 126.4 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3663, allocations: 80.73 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3663, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3666, allocations: 183.1 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3666, allocations: 0 / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0005291/0.3671, allocations: 303.9 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3672, allocations: 51.41 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3674, allocations: 194.2 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.3674, allocations: 37.7 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3676, allocations: 132.4 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3676, allocations: 35.45 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.3678, allocations: 85.66 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3679, allocations: 334.8 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.3683, allocations: 219.8 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.3687, allocations: 270.7 kB / 1.215 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.3691, allocations: 401.1 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3692, allocations: 0 / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009322/0.3701, allocations: 0.6293 MB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.3702, allocations: 97.09 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3702, allocations: 0 / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3702, allocations: 4 kB / 1.216 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3703, allocations: 19.92 kB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3704, allocations: 4 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.3709, allocations: 107.9 kB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.371, allocations: 19.98 kB / 1.216 GB, free: 0.9531 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.0001777/0.3711, allocations: 169.6 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3712, allocations: 11.91 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.3715, allocations: 231.3 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3716, allocations: 8 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3716, allocations: 0 / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3716, allocations: 3.984 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.3718, allocations: 273.4 kB / 1.217 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3718, allocations: 0 / 1.217 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.3719, allocations: 11.98 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3719, allocations: 3.938 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3719, allocations: 12 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3719, allocations: 0 / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3719, allocations: 0 / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3723, allocations: 251.6 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.3724, allocations: 92.86 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3724, allocations: 4 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/0.3725, allocations: 7.984 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3726, allocations: 15.98 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3726, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001158/0.3727, allocations: 136.2 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3727, allocations: 3.938 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003133/0.373, allocations: 67.98 kB / 1.217 GB, free: 15.57 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.0006285/0.3737, allocations: 0.7878 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007435/0.3744, allocations: 0.5567 MB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.3744, allocations: 8.062 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3746, allocations: 99.81 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3749, allocations: 31.97 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.3787, allocations: 3.16 MB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.379, allocations: 0.7552 MB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.3791, allocations: 29.41 kB / 1.222 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.3792, allocations: 51.42 kB / 1.223 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3792, allocations: 0 / 1.223 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.4015, allocations: 5.789 MB / 1.228 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.685, allocations: 9.172 kB / 1.228 GB, free: 4.238 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > 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/jenkins1/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