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.0008167/0.0008167, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007848/0.0007848, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8786/0.8786, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> 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 1.552e-06/1.552e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.594e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001299/0.001315, allocations: 0.8151 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002363, allocations: 1.193 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.002424, allocations: 3.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.002519, allocations: 15.86 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.152e-05/0.002611, allocations: 19.86 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.003026, allocations: 146.4 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.003332, allocations: 355.3 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.00348, allocations: 58.92 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.003642, allocations: 207.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.003824, allocations: 147.8 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.003865, allocations: 32 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.003934, allocations: 47.98 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.003985, allocations: 43.84 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.004078, allocations: 115.8 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.004403, allocations: 450.9 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004405, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004406, allocations: 4 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.00441, allocations: 0 / 1.003 GB, free: 9.891 MB / 0.9636 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.0005589/0.004969, allocations: 0.5141 MB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.005003, allocations: 12.75 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.005038, allocations: 46.73 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.005091, allocations: 24.84 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.005348, allocations: 226.1 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.005378, allocations: 20.36 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.005412, allocations: 24.38 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.005622, allocations: 182.1 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.00563, allocations: 4.188 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.005642, allocations: 384 / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.005649, allocations: 8.125 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.005806, allocations: 147.9 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.006679, allocations: 0.5735 MB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.006859, allocations: 118.5 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.006931, allocations: 72.8 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.006953, allocations: 0 / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.007155, allocations: 187.2 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.007157, allocations: 3.938 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0004202/0.007577, allocations: 295.6 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.00762, allocations: 59.39 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.007769, allocations: 199.7 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.007812, allocations: 37.7 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.007893, allocations: 124.5 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.007922, allocations: 47.62 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.008025, allocations: 81.67 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.00812, allocations: 330.8 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.008424, allocations: 328.9 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.008717, allocations: 382 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.009031, allocations: 391.7 kB / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.009035, allocations: 0 / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006596/0.009695, allocations: 0.7318 MB / 1.008 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.009752, allocations: 105 kB / 1.008 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.009761, allocations: 4 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.009775, allocations: 0 / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.009875, allocations: 15.98 kB / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.009882, allocations: 4 kB / 1.008 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.01024, allocations: 112 kB / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.01028, allocations: 19.98 kB / 1.008 GB, free: 4.16 MB / 0.9636 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.0001425/0.01042, allocations: 169.7 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.01044, allocations: 15.84 kB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.01075, allocations: 239.3 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01076, allocations: 0 / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.01076, allocations: 4 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.01077, allocations: 7.984 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.01097, allocations: 228.6 kB / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01098, allocations: 0 / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.01102, allocations: 8 kB / 1.009 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01103, allocations: 3.938 kB / 1.009 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01104, allocations: 7.984 kB / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01105, allocations: 0 / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01105, allocations: 0 / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.01129, allocations: 247.4 kB / 1.009 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01131, allocations: 15.84 kB / 1.009 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01133, allocations: 15.92 kB / 1.009 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.423e-05/0.01135, allocations: 4 kB / 1.009 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.01141, allocations: 19.97 kB / 1.009 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01142, allocations: 4 kB / 1.009 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.0115, allocations: 131.2 kB / 1.009 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.0115, allocations: 0 / 1.009 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002218/0.01172, allocations: 75.83 kB / 1.01 GB, free: 2.906 MB / 0.9636 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.0004856/0.01221, allocations: 0.7918 MB / 1.01 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.01273, allocations: 0.6188 MB / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01273, allocations: 0 / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.01282, allocations: 95.84 kB / 1.011 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01306, allocations: 35.97 kB / 1.011 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.01599, allocations: 3.587 MB / 1.015 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.01608, allocations: 140.1 kB / 1.015 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.762e-05/0.01615, allocations: 25.48 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.01622, allocations: 56.47 kB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of SimCode: time 1.233e-06/0.01622, allocations: 0 / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.03705, allocations: 6.674 MB / 1.021 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.704, allocations: 7.938 kB / 1.021 GB, free: 6.77 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 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.csv","/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] "Error: Could not read variable conCom.y1[1] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.73040197044611]