Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001774/0.001774, allocations: 210.9 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 66.91 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3889, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002347/0.3913, allocations: 0.8151 MB / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.393, allocations: 1.186 MB / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.3931, allocations: 0 / 1.327 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.3932, allocations: 15.86 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.3933, allocations: 15.86 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3938, allocations: 150.2 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.3943, allocations: 347.4 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3945, allocations: 62.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3947, allocations: 155.7 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3949, allocations: 167.5 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.395, allocations: 32 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3951, allocations: 40 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.3952, allocations: 47.91 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.3954, allocations: 119.6 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.3959, allocations: 403 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3959, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3959, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3959, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 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.000947/0.3969, allocations: 0.5103 MB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3969, allocations: 15.97 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.397, allocations: 46.73 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.3971, allocations: 24.84 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.3975, allocations: 227.6 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.3976, allocations: 16.38 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.3976, allocations: 28.36 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.398, allocations: 174.1 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.398, allocations: 7.938 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.398, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.398, allocations: 8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3983, allocations: 147.9 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.3994, allocations: 0.5812 MB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3996, allocations: 122.5 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3997, allocations: 68.75 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3997, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.4, allocations: 175.4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.4, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005851/0.4006, allocations: 299.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.4007, allocations: 55.41 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4009, allocations: 190.7 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.4009, allocations: 45.62 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4011, allocations: 136.4 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.4011, allocations: 43.64 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4013, allocations: 85.61 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4015, allocations: 334.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.4019, allocations: 316.9 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.4024, allocations: 387.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.4029, allocations: 393 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4029, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001083/0.404, allocations: 0.7397 MB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.811e-05/0.4041, allocations: 97.09 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4041, allocations: 7.938 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4041, allocations: 4 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4043, allocations: 15.98 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4043, allocations: 0 / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.4048, allocations: 111.9 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.4048, allocations: 19.98 kB / 1.334 GB, free: 9.148 MB / 1.029 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.0002146/0.405, allocations: 172.6 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4051, allocations: 15.91 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.4055, allocations: 231.3 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.4055, allocations: 4 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4055, allocations: 0 / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4055, allocations: 4 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.4058, allocations: 232.5 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4058, allocations: 0 / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.4059, allocations: 11.98 kB / 1.334 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.4059, allocations: 4 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4059, allocations: 0 / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4059, allocations: 0 / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4059, allocations: 4 kB / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.4063, allocations: 259.4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.4063, allocations: 15.91 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4064, allocations: 4 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.4064, allocations: 7.984 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.4065, allocations: 19.97 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.4065, allocations: 8 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001407/0.4066, allocations: 131.2 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4066, allocations: 0 / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003239/0.407, allocations: 71.89 kB / 1.335 GB, free: 7.898 MB / 1.029 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.0008969/0.4078, allocations: 0.7973 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000931/0.4088, allocations: 0.6123 MB / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4088, allocations: 0 / 1.336 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.4089, allocations: 87.88 kB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.4093, allocations: 43.8 kB / 1.336 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.4144, allocations: 3.589 MB / 1.34 GB, free: 2.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.4146, allocations: 139.9 kB / 1.34 GB, free: 2.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.4147, allocations: 29.41 kB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.4148, allocations: 47.42 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/0.4148, allocations: 4 kB / 1.34 GB, free: 2.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04038/0.4552, allocations: 6.564 MB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.34, allocations: 22.38 kB / 1.347 GB, free: 11.85 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.497290052007884]