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.002367/0.002367, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.00283/0.00283, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.612/1.612, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.976/2.976, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.763e-06/1.763e-06, allocations: 3.938 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.876e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002276/0.002305, allocations: 0.8339 MB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.00421, allocations: 1.195 MB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.004293, allocations: 4 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.004438, allocations: 11.86 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.004562, allocations: 21.08 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.005085, allocations: 144.2 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.00565, allocations: 348.7 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.005855, allocations: 58.92 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.006134, allocations: 207.7 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.006425, allocations: 148.6 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.006509, allocations: 32 kB / 0.7893 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.006634, allocations: 48.55 kB / 0.7893 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.901e-05/0.006723, allocations: 51.83 kB / 0.7894 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.006918, allocations: 104.5 kB / 0.7895 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.007527, allocations: 450.8 kB / 0.7899 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007529, allocations: 0.9062 kB / 0.7899 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.007531, allocations: 0 / 0.7899 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.007536, allocations: 4.594 kB / 0.7899 GB, free: 9.219 MB / 0.7448 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.001067/0.008603, allocations: 0.6154 MB / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.008645, allocations: 8.031 kB / 0.7905 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.008785, allocations: 44.78 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.009264, allocations: 213.7 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.009312, allocations: 17.72 kB / 0.7908 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.009376, allocations: 28.38 kB / 0.7908 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.009682, allocations: 142.1 kB / 0.7909 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.009694, allocations: 192 / 0.7909 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.009717, allocations: 9.953 kB / 0.7909 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.009725, allocations: 4.375 kB / 0.7909 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.009947, allocations: 107.8 kB / 0.791 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01113, allocations: 0.6074 MB / 0.7916 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.01138, allocations: 126.3 kB / 0.7918 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.0115, allocations: 63.64 kB / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.01153, allocations: 0 / 0.7918 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.01184, allocations: 172.9 kB / 0.792 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.01184, allocations: 0 / 0.792 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0006114/0.01245, allocations: 281.4 kB / 0.7923 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.01251, allocations: 55.34 kB / 0.7923 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.01281, allocations: 279.8 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.01287, allocations: 38.41 kB / 0.7926 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.01304, allocations: 187.1 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.01309, allocations: 44.22 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.01329, allocations: 99.33 kB / 0.7929 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003016/0.01359, allocations: 0.5088 MB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.01409, allocations: 316.9 kB / 0.7937 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.01474, allocations: 409 kB / 0.7941 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.0153, allocations: 401.8 kB / 0.7945 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.0153, allocations: 1.156 kB / 0.7945 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001194/0.01649, allocations: 0.7317 MB / 0.7952 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.01664, allocations: 93.09 kB / 0.7953 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01665, allocations: 1.438 kB / 0.7953 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.01667, allocations: 7.938 kB / 0.7953 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01681, allocations: 23.92 kB / 0.7953 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01682, allocations: 4.5 kB / 0.7953 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.01727, allocations: 87.19 kB / 0.7954 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.01733, allocations: 19.98 kB / 0.7954 GB, free: 3.148 MB / 0.7448 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.0002546/0.01758, allocations: 200.5 kB / 0.7956 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.01763, allocations: 23.91 kB / 0.7957 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.01804, allocations: 212.1 kB / 0.7959 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.01805, allocations: 7.938 kB / 0.7959 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01805, allocations: 0.5 kB / 0.7959 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01805, allocations: 0 / 0.7959 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.01836, allocations: 221.1 kB / 0.7961 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.01836, allocations: 4.562 kB / 0.7961 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.01844, allocations: 15.92 kB / 0.7961 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01844, allocations: 1.344 kB / 0.7961 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01846, allocations: 8 kB / 0.7961 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01846, allocations: 0 / 0.7961 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.01847, allocations: 4.531 kB / 0.7961 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.01886, allocations: 250.6 kB / 0.7963 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01889, allocations: 13.41 kB / 0.7964 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01891, allocations: 0 / 0.7964 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.01897, allocations: 11.98 kB / 0.7964 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.01903, allocations: 23.84 kB / 0.7964 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.01905, allocations: 9.094 kB / 0.7964 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001673/0.01921, allocations: 179.4 kB / 0.7966 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01921, allocations: 3.938 kB / 0.7966 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003275/0.01954, allocations: 72.42 kB / 0.7966 GB, free: 1.848 MB / 0.7448 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.0001842/0.01973, allocations: 110.7 kB / 0.7968 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009779/0.0207, allocations: 0.67 MB / 0.7974 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02071, allocations: 0 / 0.7974 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.02087, allocations: 91.56 kB / 0.7975 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.02118, allocations: 43.22 kB / 0.7975 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.02191, allocations: 380.8 kB / 0.7979 GB, free: 484 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.02206, allocations: 134 kB / 0.798 GB, free: 336 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.169e-05/0.02213, allocations: 24.78 kB / 0.7981 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.02218, allocations: 16.5 kB / 0.7981 GB, free: 300 kB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/0.02218, allocations: 0 / 0.7981 GB, free: 300 kB / 0.7448 GB Notification: Performance of Templates: time 0.008865/0.03104, allocations: 4.019 MB / 0.802 GB, free: 12.38 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] 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.474193357978947]