Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 193 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 0.8686 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7519, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002704/0.7546, allocations: 1.252 MB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005004/0.7552, allocations: 239.8 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.7553, allocations: 7.875 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.7556, allocations: 99.41 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.7558, allocations: 67.8 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.756, allocations: 71.89 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.7568, allocations: 0.7689 MB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.7588, allocations: 1.911 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.7592, allocations: 462.7 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007/0.76, allocations: 0.6854 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.7601, allocations: 72 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.7603, allocations: 79.94 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005844/0.7609, allocations: 0.6625 MB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.7616, allocations: 0.7416 MB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.7634, allocations: 2.315 MB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7634, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7635, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.6e-05/0.7635, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.002368/0.7659, allocations: 1.871 MB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7659, allocations: 8.031 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.7662, allocations: 194.6 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.7676, allocations: 0.9572 MB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.7677, allocations: 156.5 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.768, allocations: 196.4 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.772, allocations: 2.794 MB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.7721, allocations: 12.06 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.7723, allocations: 95.94 kB / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/0.7723, allocations: 56 kB / 1.032 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.7749, allocations: 1.639 MB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/0.7839, allocations: 10.48 MB / 1.044 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.7841, allocations: 169.1 kB / 1.044 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.7841, allocations: 84.08 kB / 1.044 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.7842, allocations: 79.28 kB / 1.044 GB, free: 5.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.7842, allocations: 109.8 kB / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 3.957e-06/0.7842, allocations: 0 / 1.044 GB, free: 5.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001613/0.7844, allocations: 88.94 kB / 1.044 GB, free: 5.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.7845, allocations: 130.7 kB / 1.044 GB, free: 5.359 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.7856, allocations: 0.9088 MB / 1.045 GB, free: 4.441 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.7856, allocations: 25.7 kB / 1.045 GB, free: 4.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.7862, allocations: 0.8432 MB / 1.046 GB, free: 3.551 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.7862, allocations: 15.98 kB / 1.046 GB, free: 3.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.7865, allocations: 271 kB / 1.046 GB, free: 3.262 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.7867, allocations: 374.7 kB / 1.047 GB, free: 2.887 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.7869, allocations: 141.2 kB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.7874, allocations: 0.5795 MB / 1.048 GB, free: 1.941 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.7882, allocations: 0.7806 MB / 1.048 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.7882, allocations: 4 kB / 1.048 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009739/0.7892, allocations: 0.7041 MB / 1.049 GB, free: 220 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.7892, allocations: 14.19 kB / 1.049 GB, free: 208 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7892, allocations: 20 kB / 1.049 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.7893, allocations: 20 kB / 1.049 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.7895, allocations: 95.64 kB / 1.049 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/0.7895, allocations: 27.88 kB / 1.049 GB, free: 44 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.7899, allocations: 83.89 kB / 1.049 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.7899, allocations: 40.41 kB / 1.049 GB, free: 15.92 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.001059/0.791, allocations: 0.7612 MB / 1.05 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.7911, allocations: 160.2 kB / 1.05 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.7912, allocations: 165.3 kB / 1.05 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/0.7913, allocations: 192.2 kB / 1.051 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.393e-05/0.7914, allocations: 180.3 kB / 1.051 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.458e-05/0.7915, allocations: 180.2 kB / 1.051 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.7931, allocations: 1.605 MB / 1.052 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-05/0.7932, allocations: 101 kB / 1.053 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.7932, allocations: 108.9 kB / 1.053 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-05/0.7933, allocations: 176.3 kB / 1.053 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.7934, allocations: 192.2 kB / 1.053 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-05/0.7934, allocations: 180.3 kB / 1.053 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/0.7935, allocations: 176.3 kB / 1.053 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.7937, allocations: 359 kB / 1.054 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.7938, allocations: 229.4 kB / 1.054 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.7939, allocations: 176.3 kB / 1.054 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.794, allocations: 101 kB / 1.054 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.7941, allocations: 188.2 kB / 1.054 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.7942, allocations: 109 kB / 1.054 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00053/0.7947, allocations: 0.4912 MB / 1.055 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7947, allocations: 0 / 1.055 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008837/0.7956, allocations: 329.3 kB / 1.055 GB, free: 9.602 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001351/0.7957, allocations: 178.5 kB / 1.055 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.7962, allocations: 295.1 kB / 1.056 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7962, allocations: 0 / 1.056 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.7962, allocations: 0.75 kB / 1.056 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.7967, allocations: 0.5721 MB / 1.056 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.8005, allocations: 2.977 MB / 1.059 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.8015, allocations: 1.388 MB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004957/0.8021, allocations: 292.5 kB / 1.061 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.8021, allocations: 35.44 kB / 1.061 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.8021, allocations: 0 / 1.061 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of Templates: time 0.009185/0.8113, allocations: 2.5 MB / 1.063 GB, free: 1.305 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches