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.001805/0.001805, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001435/0.001435, allocations: 220.4 kB / 23 MB, free: 4.914 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.488/1.488, allocations: 230.6 MB / 256.8 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.08/3.08, allocations: 0.4892 GB / 0.7951 GB, free: 35.86 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [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.002057/0.002057, allocations: 67.86 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.324, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002356/0.3264, allocations: 0.815 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3283, allocations: 1.186 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3284, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3286, allocations: 11.86 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.3287, allocations: 19.86 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.3294, allocations: 146.3 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.3299, allocations: 343.4 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.3301, allocations: 62.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3303, allocations: 159.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.3306, allocations: 159.6 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/0.3307, allocations: 32 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3308, allocations: 44 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.3309, allocations: 47.83 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3311, allocations: 119.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.3316, allocations: 394.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3316, allocations: 3.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.088e-06/0.3316, allocations: 7.922 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3316, allocations: 0 / 1.33 GB, free: 14.39 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.0009428/0.3326, allocations: 0.5153 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3326, allocations: 12.03 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.903e-05/0.3327, allocations: 24.84 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.3332, allocations: 223.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.3332, allocations: 16.36 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.3333, allocations: 32.36 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3336, allocations: 174.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3336, allocations: 4.188 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3336, allocations: 3.938 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3336, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.3339, allocations: 151.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3349, allocations: 0.5427 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3352, allocations: 122.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3353, allocations: 72.8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3353, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.3356, allocations: 179.3 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3356, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005716/0.3361, allocations: 299.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3362, allocations: 59.39 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.3364, allocations: 194.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.3364, allocations: 37.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3366, allocations: 128.4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.3366, allocations: 47.62 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.3368, allocations: 81.67 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3369, allocations: 330.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004538/0.3374, allocations: 328.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.3379, allocations: 375.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.3384, allocations: 405.1 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3384, allocations: 0 / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001142/0.3396, allocations: 0.7355 MB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.3397, allocations: 97.09 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3397, allocations: 4 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3397, allocations: 0 / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3398, allocations: 19.92 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3398, allocations: 4 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.3404, allocations: 111.8 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.3404, allocations: 19.98 kB / 1.335 GB, free: 8.75 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.0001951/0.3406, allocations: 168.7 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.3406, allocations: 19.78 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.341, allocations: 235.4 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.341, allocations: 3.938 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.341, allocations: 4 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3411, allocations: 3.984 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3413, allocations: 197.2 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3413, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.3413, allocations: 8 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3414, allocations: 3.938 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3414, allocations: 7.984 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3414, allocations: 0 / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3414, allocations: 0 / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3417, allocations: 252.8 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.3418, allocations: 11.91 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3418, allocations: 11.92 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.3418, allocations: 4 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.3419, allocations: 27.95 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3419, allocations: 4 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001206/0.342, allocations: 135.2 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 0 / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003178/0.3424, allocations: 71.88 kB / 1.336 GB, free: 7.535 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.0001717/0.3425, allocations: 103.2 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000848/0.3434, allocations: 0.6192 MB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3434, allocations: 4.062 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3435, allocations: 99.8 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.3439, allocations: 31.97 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.3446, allocations: 421.3 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3447, allocations: 135.9 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3448, allocations: 19.44 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3448, allocations: 3.938 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of Templates: time 0.00573/0.3505, allocations: 3.326 MB / 1.341 GB, free: 2.695 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] 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: 11.619770620018244]