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.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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001622/0.001622, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.804e-06/1.804e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.989e-05, allocations: 3.344 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002267/0.002297, allocations: 0.8255 MB / 0.8784 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.004388, allocations: 1.196 MB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.00448, allocations: 4.562 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004612, allocations: 11.86 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.004735, allocations: 20.47 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.005286, allocations: 141 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.005823, allocations: 352.1 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.006027, allocations: 62.91 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.006393, allocations: 212.8 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.006717, allocations: 143.8 kB / 0.8804 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.006815, allocations: 35.98 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.006946, allocations: 49.05 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.00704, allocations: 47.84 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.007236, allocations: 107.8 kB / 0.8807 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.007895, allocations: 451.9 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007897, allocations: 0 / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007898, allocations: 0 / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.007908, allocations: 0.875 kB / 0.8811 GB, free: 2.898 MB / 0.8386 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.001278/0.009186, allocations: 0.5107 MB / 0.8816 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.009226, allocations: 12.03 kB / 0.8816 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.009355, allocations: 34.59 kB / 0.8817 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.00981, allocations: 235.3 kB / 0.8819 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.009856, allocations: 16.38 kB / 0.8819 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.009921, allocations: 24.38 kB / 0.8819 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.01028, allocations: 180.1 kB / 0.8821 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01029, allocations: 192 / 0.8821 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01031, allocations: 8.359 kB / 0.8821 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01032, allocations: 5.469 kB / 0.8821 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.01059, allocations: 144.3 kB / 0.8822 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01165, allocations: 0.5512 MB / 0.8828 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.01191, allocations: 123.2 kB / 0.8829 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.01205, allocations: 72.8 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.01208, allocations: 8 kB / 0.883 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.0124, allocations: 174.5 kB / 0.8831 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.0124, allocations: 0 / 0.8831 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0006581/0.01306, allocations: 309.3 kB / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.01311, allocations: 59.34 kB / 0.8835 GB, free: 324 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.01334, allocations: 191.2 kB / 0.8837 GB, free: 124 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.0134, allocations: 37.7 kB / 0.8837 GB, free: 80 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01357, allocations: 140.4 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.01362, allocations: 43.67 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.01381, allocations: 83.14 kB / 0.884 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.01401, allocations: 326.8 kB / 0.8843 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.01452, allocations: 320.9 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.01509, allocations: 380.8 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.01568, allocations: 392.8 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01569, allocations: 2.812 kB / 0.8853 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001305/0.01699, allocations: 0.753 MB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.01709, allocations: 99.59 kB / 0.8862 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.0171, allocations: 0 / 0.8862 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.01713, allocations: 9.656 kB / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.01725, allocations: 19.92 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.01726, allocations: 4 kB / 0.8862 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.01783, allocations: 102 kB / 0.8863 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.01789, allocations: 23.98 kB / 0.8863 GB, free: 13.25 MB / 0.8542 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.0002253/0.01812, allocations: 167.9 kB / 0.8865 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.01816, allocations: 19.91 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.01862, allocations: 231.5 kB / 0.8867 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.01863, allocations: 11.94 kB / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01863, allocations: 0 / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01863, allocations: 0 / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.0189, allocations: 189.2 kB / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01891, allocations: 0 / 0.8869 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.01898, allocations: 19.98 kB / 0.8869 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.01899, allocations: 3.938 kB / 0.8869 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.019, allocations: 4 kB / 0.8869 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01901, allocations: 4 kB / 0.8869 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.01901, allocations: 7.922 kB / 0.8869 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.01942, allocations: 248 kB / 0.8872 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.01945, allocations: 23.89 kB / 0.8872 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01948, allocations: 7.984 kB / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/0.01953, allocations: 4 kB / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.01961, allocations: 19.91 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01962, allocations: 4 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001544/0.01978, allocations: 135.2 kB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01978, allocations: 0 / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003473/0.02012, allocations: 67.89 kB / 0.8874 GB, free: 12.05 MB / 0.8542 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.0002075/0.02033, allocations: 117.1 kB / 0.8875 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.02155, allocations: 0.6161 MB / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.02155, allocations: 4 kB / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.02172, allocations: 83.88 kB / 0.8882 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.02206, allocations: 36.41 kB / 0.8883 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.02286, allocations: 401 kB / 0.8886 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.02302, allocations: 136.1 kB / 0.8888 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.934e-05/0.02311, allocations: 29.47 kB / 0.8888 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.02315, allocations: 16.5 kB / 0.8888 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02316, allocations: 4 kB / 0.8888 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.008994/0.03215, allocations: 4.033 MB / 0.8928 GB, free: 6.566 MB / 0.8542 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 -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/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: 8.34109426708892]