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.001799/0.001799, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002467/0.002467, allocations: 215.6 kB / 22.25 MB, free: 5.117 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.458/3.458, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002105/0.002105, allocations: 71.34 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3979, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002602/0.4005, allocations: 0.8516 MB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.4024, allocations: 1.198 MB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.4026, allocations: 4 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.4027, allocations: 15.86 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.4029, allocations: 19.86 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.4035, allocations: 142.4 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.4041, allocations: 355.4 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.4043, allocations: 63.02 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.4046, allocations: 147.7 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.4049, allocations: 151.5 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.405, allocations: 32 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.4052, allocations: 47.98 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.4053, allocations: 47.84 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.4056, allocations: 131.5 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.4062, allocations: 402.8 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4062, allocations: 4 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4062, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.4062, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 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.001168/0.4074, allocations: 0.5162 MB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4074, allocations: 8.031 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.487e-05/0.4075, allocations: 46.75 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4076, allocations: 32.78 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.4081, allocations: 224.1 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.4082, allocations: 16.38 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.4082, allocations: 28.38 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.4086, allocations: 182.1 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4086, allocations: 7.875 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4086, allocations: 8 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4086, allocations: 4 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.4089, allocations: 143.9 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.41, allocations: 0.6358 MB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4103, allocations: 126.4 kB / 1.358 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4104, allocations: 72.73 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4104, allocations: 0 / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.4107, allocations: 175.2 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.4107, allocations: 4 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0005671/0.4112, allocations: 297.5 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4113, allocations: 55.41 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.4115, allocations: 194.4 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.4116, allocations: 33.7 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4117, allocations: 136.4 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.4118, allocations: 43.67 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.4119, allocations: 89.66 kB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4121, allocations: 326.8 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.4125, allocations: 219.8 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.413, allocations: 283.2 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.4135, allocations: 397.2 kB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4135, allocations: 4 kB / 1.36 GB, free: 384 kB / 1.045 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00113/0.4147, allocations: 0.6426 MB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.4147, allocations: 101 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4148, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4148, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4149, allocations: 19.92 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4149, allocations: 4 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.4155, allocations: 107.9 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.4155, allocations: 19.98 kB / 1.361 GB, free: 15.44 MB / 1.061 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.0002223/0.4157, allocations: 169.6 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4158, allocations: 15.91 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.4162, allocations: 233 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4162, allocations: 4 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4162, allocations: 4 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4162, allocations: 0 / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.4165, allocations: 248.5 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4165, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.4166, allocations: 15.92 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4166, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.4166, allocations: 8 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4166, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4166, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.417, allocations: 255.2 kB / 1.362 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.4171, allocations: 15.91 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4171, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.4171, allocations: 8 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.4172, allocations: 15.97 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4172, allocations: 4 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001254/0.4173, allocations: 143.2 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4173, allocations: 0 / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003277/0.4176, allocations: 63.94 kB / 1.362 GB, free: 14.18 MB / 1.061 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.0007357/0.4184, allocations: 0.7879 MB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007765/0.4192, allocations: 0.5177 MB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4192, allocations: 4.062 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.4193, allocations: 87.88 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4196, allocations: 45.95 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.424, allocations: 3.184 MB / 1.367 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4244, allocations: 0.7474 MB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.015e-05/0.4245, allocations: 33.39 kB / 1.368 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.4246, allocations: 51.42 kB / 1.368 GB, free: 8.488 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4246, allocations: 0 / 1.368 GB, free: 8.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.4625, allocations: 5.876 MB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.09, allocations: 11.31 kB / 1.374 GB, free: 2.77 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 19.334305017022416]