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.00174/0.00174, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002081/0.002081, allocations: 217 kB / 22.25 MB, free: 5.254 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.781 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.26/3.26, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.002108/0.002108, allocations: 67.45 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002178/0.4031, allocations: 0.8198 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.4047, allocations: 1.178 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.4048, allocations: 7.938 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.4049, allocations: 23.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.405, allocations: 11.92 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.4055, allocations: 156 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000483/0.406, allocations: 343.4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.4062, allocations: 66.78 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.4064, allocations: 151.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.4066, allocations: 143.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.4067, allocations: 32 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.4068, allocations: 47.92 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.4069, allocations: 51.84 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.407, allocations: 111.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.4075, allocations: 403.1 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4075, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4075, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.4075, allocations: 0 / 1.329 GB, free: 14 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.0008716/0.4084, allocations: 0.5103 MB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4084, allocations: 12.03 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.4085, allocations: 50.67 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.4086, allocations: 24.84 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.409, allocations: 227.6 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.4091, allocations: 20.31 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.4091, allocations: 24.38 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.4094, allocations: 182.1 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4094, allocations: 3.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4095, allocations: 7.984 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4095, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.4097, allocations: 147.9 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4108, allocations: 0.5773 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.411, allocations: 118.5 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4111, allocations: 80.73 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.4111, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.4114, allocations: 171.4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.4114, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005438/0.412, allocations: 303.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.412, allocations: 55.41 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4122, allocations: 194.7 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.4123, allocations: 33.7 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.4124, allocations: 136.4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.4124, allocations: 47.66 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.4126, allocations: 85.66 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4127, allocations: 330.8 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.4132, allocations: 320.9 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.4137, allocations: 389.5 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.4142, allocations: 401.2 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4142, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001072/0.4153, allocations: 0.7352 MB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.4154, allocations: 101.1 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4154, allocations: 4 kB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4154, allocations: 4 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4155, allocations: 15.94 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4155, allocations: 4.203 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.416, allocations: 107.8 kB / 1.334 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.4161, allocations: 19.97 kB / 1.335 GB, free: 8.25 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.0001905/0.4163, allocations: 181 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.4163, allocations: 15.91 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.4167, allocations: 231.4 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4167, allocations: 4 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4167, allocations: 0 / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4167, allocations: 3.938 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.417, allocations: 232.5 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.417, allocations: 0 / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.417, allocations: 11.98 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.417, allocations: 0 / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.417, allocations: 4 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.417, allocations: 4 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4171, allocations: 0 / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.4174, allocations: 259 kB / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.4175, allocations: 15.84 kB / 1.335 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.4175, allocations: 4 kB / 1.335 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.4175, allocations: 4 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.4176, allocations: 15.97 kB / 1.335 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.4176, allocations: 8 kB / 1.335 GB, free: 7.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001203/0.4177, allocations: 139.2 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 0 / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003068/0.418, allocations: 67.89 kB / 1.336 GB, free: 6.996 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.0007036/0.4187, allocations: 0.7956 MB / 1.336 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.4196, allocations: 0.6122 MB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4196, allocations: 3.938 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4197, allocations: 87.88 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.42, allocations: 48.3 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.4245, allocations: 3.578 MB / 1.341 GB, free: 1.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.4247, allocations: 135.9 kB / 1.341 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.654e-05/0.4248, allocations: 33.41 kB / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4249, allocations: 47.42 kB / 1.341 GB, free: 1.34 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.4249, allocations: 96 / 1.341 GB, free: 1.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.4617, allocations: 6.617 MB / 1.347 GB, free: 10.92 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.84, allocations: 1.75 kB / 1.347 GB, free: 10.92 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: 18.907536593993427]