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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.5 kB / 18.88 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 191.8 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 497.2 MB / 0.7845 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.95 kB / 1.139 GB, free: 33.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3276, allocations: 173.9 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002137/0.3298, allocations: 0.8337 MB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3313, allocations: 1.17 MB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.3314, allocations: 4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3315, allocations: 15.86 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3316, allocations: 11.88 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.3321, allocations: 163.4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.3326, allocations: 347.3 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.3327, allocations: 62.52 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3329, allocations: 143.8 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3331, allocations: 143.6 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/0.3332, allocations: 32 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.3333, allocations: 43.98 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.3334, allocations: 55.83 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3335, allocations: 139.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.334, allocations: 398.7 kB / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.334, allocations: 0 / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.334, allocations: 0 / 1.313 GB, free: 12.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.334, allocations: 4 kB / 1.313 GB, free: 12.4 MB / 1.014 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.0008536/0.3349, allocations: 0.5817 MB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3349, allocations: 8.922 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.335, allocations: 28.83 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.3355, allocations: 278.4 kB / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.3355, allocations: 20.38 kB / 1.314 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.3356, allocations: 28.36 kB / 1.314 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.3359, allocations: 175.1 kB / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3359, allocations: 192 / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3359, allocations: 15.88 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3359, allocations: 4 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3361, allocations: 144.4 kB / 1.314 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3372, allocations: 0.6641 MB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3375, allocations: 118.4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3376, allocations: 72.8 kB / 1.315 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.3376, allocations: 7.938 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.3379, allocations: 183.1 kB / 1.315 GB, free: 9.902 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.3379, allocations: 3.938 kB / 1.315 GB, free: 9.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0005285/0.3384, allocations: 303.8 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3385, allocations: 55.41 kB / 1.315 GB, free: 9.531 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.3386, allocations: 194.3 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.3387, allocations: 37.7 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.3388, allocations: 132.5 kB / 1.316 GB, free: 9.156 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.3389, allocations: 43.67 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.339, allocations: 89.62 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3392, allocations: 326.8 kB / 1.316 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.3395, allocations: 223.8 kB / 1.316 GB, free: 8.473 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.34, allocations: 274.7 kB / 1.317 GB, free: 8.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.3404, allocations: 393.2 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3404, allocations: 0 / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000968/0.3414, allocations: 0.6361 MB / 1.318 GB, free: 7.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.3415, allocations: 97.09 kB / 1.318 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3415, allocations: 4 kB / 1.318 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3415, allocations: 0 / 1.318 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3416, allocations: 19.92 kB / 1.318 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3417, allocations: 4 kB / 1.318 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.3422, allocations: 112 kB / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.3422, allocations: 19.98 kB / 1.318 GB, free: 6.824 MB / 1.014 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.0002005/0.3424, allocations: 169.7 kB / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.3425, allocations: 23.83 kB / 1.318 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.3428, allocations: 227.4 kB / 1.318 GB, free: 6.398 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3429, allocations: 7.984 kB / 1.318 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3429, allocations: 0 / 1.318 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3429, allocations: 0 / 1.318 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3432, allocations: 277.4 kB / 1.318 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3432, allocations: 0 / 1.318 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.3432, allocations: 15.92 kB / 1.318 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3432, allocations: 4 kB / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3432, allocations: 0 / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3432, allocations: 0 / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3432, allocations: 0 / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3436, allocations: 255.5 kB / 1.319 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.3436, allocations: 92.95 kB / 1.319 GB, free: 5.676 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3437, allocations: 4 kB / 1.319 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.3437, allocations: 11.92 kB / 1.319 GB, free: 5.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.3438, allocations: 11.98 kB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3438, allocations: 15.98 kB / 1.319 GB, free: 5.633 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3439, allocations: 132.2 kB / 1.319 GB, free: 5.504 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3439, allocations: 4 kB / 1.319 GB, free: 5.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003004/0.3442, allocations: 71.83 kB / 1.319 GB, free: 5.43 MB / 1.014 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.0001706/0.3444, allocations: 115.2 kB / 1.319 GB, free: 5.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.3452, allocations: 0.5057 MB / 1.32 GB, free: 4.762 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3452, allocations: 0 / 1.32 GB, free: 4.762 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3453, allocations: 92.3 kB / 1.32 GB, free: 4.672 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3456, allocations: 42.16 kB / 1.32 GB, free: 4.633 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.3465, allocations: 399.4 kB / 1.32 GB, free: 4.215 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.3469, allocations: 0.7513 MB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.54e-05/0.347, allocations: 29.41 kB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.347, allocations: 15.44 kB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.347, allocations: 0 / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of Templates: time 0.007932/0.355, allocations: 3.773 MB / 1.325 GB, free: 15.66 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 800] 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_2/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: 8.240889051929116]