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.001732/0.001732, allocations: 108 kB / 16.45 MB, free: 6.512 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.002087/0.002087, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.221/3.221, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.002062/0.002062, allocations: 71.64 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.403, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002447/0.4055, allocations: 0.8327 MB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4073, allocations: 1.198 MB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.4075, allocations: 0 / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.4076, allocations: 15.86 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.4078, allocations: 19.84 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.4084, allocations: 148.3 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.4089, allocations: 339.5 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.4091, allocations: 86.45 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.4094, allocations: 151.7 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.4096, allocations: 147.5 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.4097, allocations: 36 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.4098, allocations: 43.98 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.4099, allocations: 47.84 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.4101, allocations: 139.5 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.4107, allocations: 395.1 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4107, allocations: 3.984 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4107, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4107, allocations: 0 / 1.324 GB, free: 15.77 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.001075/0.4118, allocations: 0.5832 MB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4119, allocations: 11.98 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.4119, allocations: 50.73 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.412, allocations: 24.84 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.4126, allocations: 273.4 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.4126, allocations: 20.36 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.4127, allocations: 28.38 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.4131, allocations: 178.1 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4131, allocations: 3.938 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.4131, allocations: 8 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4131, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.4134, allocations: 155.8 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.4146, allocations: 0.6602 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.4148, allocations: 118.5 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4149, allocations: 72.94 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4149, allocations: 7.922 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.4152, allocations: 171.2 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.4152, allocations: 8 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006144/0.4158, allocations: 297.3 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4159, allocations: 59.39 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4161, allocations: 190.8 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.4162, allocations: 41.69 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4163, allocations: 124.5 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.4164, allocations: 51.56 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.4166, allocations: 85.61 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4168, allocations: 334.8 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.4172, allocations: 219.8 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.4176, allocations: 279.2 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.4182, allocations: 401.6 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4182, allocations: 0 / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001046/0.4192, allocations: 0.6387 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/0.4193, allocations: 97.09 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4193, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4193, allocations: 4 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.4194, allocations: 15.98 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4194, allocations: 7.938 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.42, allocations: 103.9 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.4201, allocations: 23.98 kB / 1.329 GB, free: 10.13 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.0002474/0.4203, allocations: 172.5 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.4203, allocations: 15.91 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.4208, allocations: 234.6 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4208, allocations: 7.984 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4208, allocations: 4 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4208, allocations: 0 / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.4211, allocations: 277.4 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4211, allocations: 4 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4212, allocations: 8 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4212, allocations: 4 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.4212, allocations: 3.984 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4212, allocations: 0 / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4212, allocations: 0 / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4216, allocations: 252.8 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.4216, allocations: 92.95 kB / 1.33 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.4217, allocations: 7.984 kB / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.4217, allocations: 4 kB / 1.33 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.4218, allocations: 15.97 kB / 1.33 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4218, allocations: 8 kB / 1.33 GB, free: 8.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001211/0.4219, allocations: 131.2 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4219, allocations: 0 / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003371/0.4223, allocations: 75.83 kB / 1.331 GB, free: 8.738 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.0008341/0.4231, allocations: 0.7975 MB / 1.331 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.4239, allocations: 0.5174 MB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.4239, allocations: 4.438 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4241, allocations: 87.92 kB / 1.332 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4244, allocations: 37.78 kB / 1.332 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.4294, allocations: 3.174 MB / 1.335 GB, free: 3.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.4299, allocations: 0.7474 MB / 1.336 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.43, allocations: 29.41 kB / 1.336 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4301, allocations: 47.42 kB / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of SimCode: time 1.573e-06/0.4301, allocations: 4 kB / 1.336 GB, free: 3.051 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.4642, allocations: 5.702 MB / 1.342 GB, free: 13.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.545/9.009, allocations: 9.75 kB / 1.342 GB, free: 13.51 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.717337148962542]