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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 111.1 kB / 17.96 MB, free: 3.918 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.001987/0.001987, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.487/1.487, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7635 GB, free: 10.19 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 59.91 kB / 1.108 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.896, allocations: 168.7 MB / 1.272 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00225/0.8982, allocations: 0.8356 MB / 1.273 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8999, allocations: 1.18 MB / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.9, allocations: 0 / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.9001, allocations: 19.86 kB / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.9003, allocations: 11.88 kB / 1.274 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.9008, allocations: 141.1 kB / 1.275 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.9012, allocations: 343.4 kB / 1.275 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.9014, allocations: 70.48 kB / 1.275 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.9016, allocations: 159.7 kB / 1.275 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.9019, allocations: 139.6 kB / 1.275 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.463e-05/0.9019, allocations: 32 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.9021, allocations: 47.98 kB / 1.275 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.9022, allocations: 47.84 kB / 1.275 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.9024, allocations: 135.5 kB / 1.275 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.9029, allocations: 396.6 kB / 1.276 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9029, allocations: 0 / 1.276 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9029, allocations: 0 / 1.276 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9029, allocations: 0 / 1.276 GB, free: 0.9023 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.0009539/0.9038, allocations: 0.5895 MB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.9039, allocations: 16.02 kB / 1.276 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.9039, allocations: 46.69 kB / 1.276 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.904, allocations: 36.78 kB / 1.276 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.9045, allocations: 288.7 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.9045, allocations: 12.38 kB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.9046, allocations: 28.36 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.9049, allocations: 178.1 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9049, allocations: 7.938 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.9049, allocations: 8 kB / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.9049, allocations: 4 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.9052, allocations: 143.9 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.9062, allocations: 0.6641 MB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.9064, allocations: 114.5 kB / 1.278 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.9065, allocations: 80.73 kB / 1.278 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.9065, allocations: 4 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.9068, allocations: 175.3 kB / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.9068, allocations: 0 / 1.278 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005519/0.9073, allocations: 295.3 kB / 1.278 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.9074, allocations: 55.41 kB / 1.278 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.9076, allocations: 194.3 kB / 1.279 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.9076, allocations: 37.64 kB / 1.279 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.9077, allocations: 136.5 kB / 1.279 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.9078, allocations: 43.69 kB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.908, allocations: 81.67 kB / 1.279 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9081, allocations: 326.8 kB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.9085, allocations: 227.7 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.9089, allocations: 284.4 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.9094, allocations: 398.2 kB / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9094, allocations: 0 / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001004/0.9104, allocations: 0.6309 MB / 1.281 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.074e-05/0.9105, allocations: 101 kB / 1.281 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9105, allocations: 4.219 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9105, allocations: 4 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.9106, allocations: 15.98 kB / 1.281 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.9106, allocations: 4 kB / 1.281 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.9112, allocations: 107.8 kB / 1.281 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.9112, allocations: 19.98 kB / 1.281 GB, free: 11.25 MB / 0.9825 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.0001963/0.9114, allocations: 180.3 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.9114, allocations: 15.89 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.9118, allocations: 227.3 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9118, allocations: 4 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.9118, allocations: 7.922 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.9118, allocations: 0 / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.9122, allocations: 273.4 kB / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9122, allocations: 4 kB / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.9122, allocations: 19.98 kB / 1.282 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.9122, allocations: 4 kB / 1.282 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.9122, allocations: 0 / 1.282 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9122, allocations: 0 / 1.282 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9122, allocations: 4 kB / 1.282 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.9126, allocations: 254.4 kB / 1.282 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.9127, allocations: 89.02 kB / 1.282 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.9127, allocations: 8 kB / 1.282 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.9127, allocations: 7.984 kB / 1.282 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.9128, allocations: 15.98 kB / 1.282 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.9128, allocations: 4 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001209/0.9129, allocations: 140.2 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9129, allocations: 0 / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003237/0.9132, allocations: 67.89 kB / 1.282 GB, free: 9.859 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.0007442/0.914, allocations: 0.7928 MB / 1.283 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007822/0.9148, allocations: 0.5251 MB / 1.284 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9148, allocations: 0 / 1.284 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.9149, allocations: 83.88 kB / 1.284 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.9152, allocations: 36.41 kB / 1.284 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.9195, allocations: 3.177 MB / 1.287 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.9199, allocations: 0.7474 MB / 1.287 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.539e-05/0.92, allocations: 33.34 kB / 1.288 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.9201, allocations: 47.42 kB / 1.288 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.9201, allocations: 0 / 1.288 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.951, allocations: 5.699 MB / 1.293 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/9.488, allocations: 0 / 1.293 GB, free: 14.61 MB / 0.9981 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.73356063303072]