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.00139/0.00139, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001392/0.001392, allocations: 186 kB / 20.78 MB, free: 1.547 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.897/2.897, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 GB " [Timeout remaining time 176] 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.002056/0.002056, allocations: 63.91 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339/1.341, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002125/1.344, allocations: 0.8465 MB / 1.306 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001428/1.345, allocations: 1.168 MB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/1.345, allocations: 0 / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/1.345, allocations: 17.97 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/1.345, allocations: 18.8 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/1.346, allocations: 146.6 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/1.346, allocations: 349.5 kB / 1.308 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/1.347, allocations: 61.22 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/1.347, allocations: 151.5 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/1.347, allocations: 144.2 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/1.347, allocations: 34.41 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/1.347, allocations: 45.12 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.132e-05/1.347, allocations: 49.73 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/1.347, allocations: 133.6 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/1.348, allocations: 400.1 kB / 1.309 GB, free: 31.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/1.348, allocations: 4 kB / 1.309 GB, free: 31.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.966e-06/1.348, allocations: 3.375 kB / 1.309 GB, free: 31.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.475e-06/1.348, allocations: 0 / 1.309 GB, free: 31.41 MB / 1.061 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.0008576/1.349, allocations: 0.5881 MB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.349, allocations: 12.64 kB / 1.309 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/1.349, allocations: 35.42 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/1.349, allocations: 285.4 kB / 1.31 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/1.349, allocations: 19.23 kB / 1.31 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/1.349, allocations: 28.28 kB / 1.31 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/1.349, allocations: 176 kB / 1.31 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.349, allocations: 6.938 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/1.349, allocations: 3.938 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.349, allocations: 2.438 kB / 1.31 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/1.35, allocations: 146.9 kB / 1.31 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008579/1.351, allocations: 0.6625 MB / 1.311 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/1.351, allocations: 124.3 kB / 1.311 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/1.351, allocations: 73.64 kB / 1.311 GB, free: 29.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/1.351, allocations: 3.938 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/1.351, allocations: 180.6 kB / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/1.351, allocations: 0 / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004767/1.352, allocations: 302.1 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.352, allocations: 57.03 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.352, allocations: 193.6 kB / 1.312 GB, free: 29.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/1.352, allocations: 38.64 kB / 1.312 GB, free: 29.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/1.352, allocations: 131.7 kB / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/1.352, allocations: 42.58 kB / 1.312 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.352, allocations: 85.33 kB / 1.312 GB, free: 29.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/1.352, allocations: 328.4 kB / 1.312 GB, free: 29.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/1.352, allocations: 222 kB / 1.312 GB, free: 28.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/1.353, allocations: 277.5 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.353, allocations: 400.9 kB / 1.313 GB, free: 28.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.353, allocations: 0 / 1.313 GB, free: 28.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008073/1.354, allocations: 0.6344 MB / 1.314 GB, free: 28.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/1.354, allocations: 98.8 kB / 1.314 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.354, allocations: 0 / 1.314 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.354, allocations: 2.875 kB / 1.314 GB, free: 28.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.354, allocations: 19.06 kB / 1.314 GB, free: 28.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.354, allocations: 6.906 kB / 1.314 GB, free: 28.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/1.355, allocations: 111.6 kB / 1.314 GB, free: 28.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/1.355, allocations: 20.53 kB / 1.314 GB, free: 28.21 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.0001448/1.355, allocations: 163.9 kB / 1.314 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/1.355, allocations: 28.03 kB / 1.314 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/1.355, allocations: 230.4 kB / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.355, allocations: 6.812 kB / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/1.355, allocations: 0 / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.355, allocations: 0 / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/1.355, allocations: 274.2 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.355, allocations: 2.625 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/1.355, allocations: 15.19 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.355, allocations: 2.75 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/1.355, allocations: 4 kB / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.355, allocations: 6.609 kB / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.355, allocations: 0 / 1.315 GB, free: 27.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/1.356, allocations: 250.2 kB / 1.315 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/1.356, allocations: 94.27 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/1.356, allocations: 0 / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/1.356, allocations: 5.953 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/1.356, allocations: 19 kB / 1.315 GB, free: 27.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/1.356, allocations: 16.72 kB / 1.315 GB, free: 27.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.506e-05/1.356, allocations: 129.6 kB / 1.315 GB, free: 27.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.356, allocations: 2.688 kB / 1.315 GB, free: 27.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002796/1.356, allocations: 67.88 kB / 1.315 GB, free: 27.37 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.0001501/1.356, allocations: 106.4 kB / 1.315 GB, free: 27.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006054/1.357, allocations: 0.5203 MB / 1.316 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.357, allocations: 4.062 kB / 1.316 GB, free: 26.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/1.357, allocations: 94.83 kB / 1.316 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/1.357, allocations: 34.67 kB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/1.358, allocations: 385.4 kB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/1.358, allocations: 0.7563 MB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.873e-05/1.358, allocations: 28.61 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/1.358, allocations: 13.12 kB / 1.317 GB, free: 26.01 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.358, allocations: 2.812 kB / 1.317 GB, free: 26.01 MB / 1.061 GB Notification: Performance of Templates: time 0.007036/1.365, allocations: 3.784 MB / 1.321 GB, free: 25.72 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.197535102255642]