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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.002057/0.002057, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.134/3.134, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 70.61 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002219/0.3449, allocations: 0.8392 MB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3464, allocations: 1.166 MB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.3465, allocations: 4 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3466, allocations: 7.875 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3467, allocations: 15.86 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.3472, allocations: 155.4 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.3476, allocations: 347.4 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3478, allocations: 86.5 kB / 1.307 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3479, allocations: 151.7 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.3482, allocations: 143.6 kB / 1.307 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.3482, allocations: 32 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3483, allocations: 47.98 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3484, allocations: 43.91 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3485, allocations: 135.5 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.349, allocations: 403 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.349, allocations: 4 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.349, allocations: 0 / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.349, allocations: 0 / 1.307 GB, free: 13.98 MB / 1.014 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.000799/0.3498, allocations: 0.5778 MB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3498, allocations: 8.922 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.3499, allocations: 50.73 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.35, allocations: 24.84 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.3504, allocations: 281.9 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.3504, allocations: 16.38 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.3505, allocations: 28.38 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3508, allocations: 183.1 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3508, allocations: 7.875 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3508, allocations: 4 kB / 1.309 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3508, allocations: 4 kB / 1.309 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.3511, allocations: 148.3 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3521, allocations: 0.668 MB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.3523, allocations: 114.5 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3524, allocations: 76.92 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3524, allocations: 3.938 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.3527, allocations: 179.1 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3527, allocations: 4 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0005024/0.3532, allocations: 303.7 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.3532, allocations: 55.41 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3534, allocations: 198.5 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.3535, allocations: 37.7 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3536, allocations: 132.5 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3536, allocations: 35.7 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.3538, allocations: 89.61 kB / 1.311 GB, free: 10.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3539, allocations: 330.8 kB / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.3543, allocations: 219.8 kB / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3547, allocations: 274.7 kB / 1.311 GB, free: 9.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.3552, allocations: 397 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3552, allocations: 0 / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009525/0.3561, allocations: 0.6399 MB / 1.312 GB, free: 8.621 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.3562, allocations: 99.44 kB / 1.312 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3562, allocations: 0 / 1.312 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3562, allocations: 4 kB / 1.312 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.3563, allocations: 15.98 kB / 1.312 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3563, allocations: 7.938 kB / 1.312 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.3568, allocations: 107.9 kB / 1.313 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.3569, allocations: 23.98 kB / 1.313 GB, free: 8.352 MB / 1.014 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.0001815/0.357, allocations: 169.7 kB / 1.313 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3571, allocations: 15.91 kB / 1.313 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.3575, allocations: 231.4 kB / 1.313 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3575, allocations: 8 kB / 1.313 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3575, allocations: 0 / 1.313 GB, free: 7.914 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3575, allocations: 3.984 kB / 1.313 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.3578, allocations: 273.4 kB / 1.313 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3578, allocations: 3.984 kB / 1.313 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3579, allocations: 11.98 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3579, allocations: 0 / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3579, allocations: 11.88 kB / 1.313 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3579, allocations: 0 / 1.313 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3579, allocations: 0 / 1.313 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3582, allocations: 259 kB / 1.314 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3583, allocations: 92.95 kB / 1.314 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3583, allocations: 8 kB / 1.314 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.3584, allocations: 3.984 kB / 1.314 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3584, allocations: 15.98 kB / 1.314 GB, free: 7.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3584, allocations: 12 kB / 1.314 GB, free: 7.148 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000108/0.3585, allocations: 132.2 kB / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 1.314 GB, free: 7.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002974/0.3588, allocations: 79.88 kB / 1.314 GB, free: 6.941 MB / 1.014 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.0006966/0.3595, allocations: 0.7857 MB / 1.315 GB, free: 6.129 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007365/0.3603, allocations: 0.5216 MB / 1.315 GB, free: 5.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3603, allocations: 4.062 kB / 1.315 GB, free: 5.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3604, allocations: 83.94 kB / 1.315 GB, free: 5.484 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3607, allocations: 27.97 kB / 1.315 GB, free: 5.457 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3647, allocations: 3.183 MB / 1.318 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.365, allocations: 0.7551 MB / 1.319 GB, free: 1.352 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.871e-05/0.3651, allocations: 29.41 kB / 1.319 GB, free: 1.324 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.3652, allocations: 51.42 kB / 1.319 GB, free: 1.273 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3652, allocations: 0 / 1.319 GB, free: 1.273 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3939, allocations: 5.693 MB / 1.325 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.893, allocations: 15.11 kB / 1.325 GB, free: 11.73 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 840.0] 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_2/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: 15.53226744569838]