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.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.001407/0.001407, allocations: 81.27 kB / 19.18 MB, free: 2.531 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.002183/0.002183, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.728/2.728, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.656e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001918/0.001945, allocations: 0.8085 MB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.003787, allocations: 1.194 MB / 0.9529 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.003868, allocations: 0 / 0.9529 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.004001, allocations: 15.86 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.004115, allocations: 15.86 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.004648, allocations: 156 kB / 0.9531 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.005121, allocations: 347.3 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.005315, allocations: 62.91 kB / 0.9535 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.005564, allocations: 207.7 kB / 0.9537 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.005817, allocations: 147.8 kB / 0.9538 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.005907, allocations: 32 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.006029, allocations: 51.98 kB / 0.9539 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.006101, allocations: 43.84 kB / 0.9539 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.006263, allocations: 107.8 kB / 0.954 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.006782, allocations: 462.8 kB / 0.9545 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.006785, allocations: 0 / 0.9545 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.62e-07/0.006786, allocations: 0 / 0.9545 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.0068, allocations: 0 / 0.9545 GB, free: 7.992 MB / 0.8575 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.0008908/0.007691, allocations: 0.5064 MB / 0.955 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.007729, allocations: 11.97 kB / 0.955 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.891e-05/0.007818, allocations: 24.84 kB / 0.955 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.008211, allocations: 230.8 kB / 0.9552 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.008251, allocations: 20.31 kB / 0.9552 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.008316, allocations: 28.36 kB / 0.9553 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.008623, allocations: 178.1 kB / 0.9554 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.008635, allocations: 192 / 0.9554 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.008654, allocations: 4.375 kB / 0.9555 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.008659, allocations: 4.375 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.008905, allocations: 152.3 kB / 0.9556 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.009826, allocations: 0.5428 MB / 0.9561 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.01005, allocations: 122.4 kB / 0.9562 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.01016, allocations: 72.8 kB / 0.9563 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01018, allocations: 4 kB / 0.9563 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.01044, allocations: 171.2 kB / 0.9565 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01044, allocations: 0 / 0.9565 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005481/0.01099, allocations: 303.3 kB / 0.9568 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.01103, allocations: 59.39 kB / 0.9568 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.01123, allocations: 195 kB / 0.957 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.01129, allocations: 37.7 kB / 0.9571 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01142, allocations: 132.4 kB / 0.9572 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.01146, allocations: 47.67 kB / 0.9572 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.01161, allocations: 81.67 kB / 0.9573 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01177, allocations: 330.8 kB / 0.9576 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.0122, allocations: 324.9 kB / 0.9579 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.01267, allocations: 371.8 kB / 0.9583 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.01317, allocations: 394.1 kB / 0.9587 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01317, allocations: 4 kB / 0.9587 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001053/0.01422, allocations: 0.7296 MB / 0.9594 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.0143, allocations: 97.09 kB / 0.9595 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01431, allocations: 0 / 0.9595 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01433, allocations: 11.88 kB / 0.9595 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01444, allocations: 19.92 kB / 0.9595 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01445, allocations: 8.219 kB / 0.9595 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.01498, allocations: 107.8 kB / 0.9596 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.01503, allocations: 19.98 kB / 0.9596 GB, free: 2.367 MB / 0.8575 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.0001869/0.01522, allocations: 170.3 kB / 0.9598 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.01524, allocations: 19.91 kB / 0.9598 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.01562, allocations: 231.4 kB / 0.96 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01563, allocations: 3.938 kB / 0.96 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01563, allocations: 0 / 0.96 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.01564, allocations: 3.984 kB / 0.96 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.01584, allocations: 193.1 kB / 0.9602 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01584, allocations: 3.938 kB / 0.9602 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.01591, allocations: 19.94 kB / 0.9602 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01591, allocations: 0 / 0.9602 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01593, allocations: 7.984 kB / 0.9602 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01593, allocations: 4 kB / 0.9603 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01593, allocations: 3.938 kB / 0.9603 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.01627, allocations: 238.8 kB / 0.9605 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01629, allocations: 15.84 kB / 0.9605 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.01632, allocations: 7.984 kB / 0.9605 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.01637, allocations: 7.984 kB / 0.9605 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.01643, allocations: 19.91 kB / 0.9605 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.01645, allocations: 4 kB / 0.9605 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001054/0.01655, allocations: 135.2 kB / 0.9607 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01655, allocations: 0 / 0.9607 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000298/0.01685, allocations: 71.88 kB / 0.9607 GB, free: 1.172 MB / 0.8575 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.00017/0.01702, allocations: 113.1 kB / 0.9608 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.01784, allocations: 0.6161 MB / 0.9614 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01784, allocations: 0 / 0.9614 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.01798, allocations: 87.88 kB / 0.9615 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.01828, allocations: 40.39 kB / 0.9616 GB, free: 264 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.01893, allocations: 388.3 kB / 0.9619 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.01907, allocations: 136.1 kB / 0.9621 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.43e-05/0.01914, allocations: 33.47 kB / 0.9621 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01918, allocations: 20.44 kB / 0.9621 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.01919, allocations: 0 / 0.9621 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.008379/0.02756, allocations: 4.023 MB / 0.966 GB, free: 11.7 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.130300771445036]