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.001771/0.001771, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.657/2.657, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 63.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7778, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002867/0.7807, allocations: 1.198 MB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.7814, allocations: 239.8 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.7816, allocations: 15.88 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.7819, allocations: 111.3 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.7821, allocations: 71.72 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.7823, allocations: 75.92 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.783, allocations: 0.7377 MB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.7849, allocations: 1.946 MB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.7854, allocations: 0.5494 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.786, allocations: 0.6971 MB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.7862, allocations: 119.9 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.7864, allocations: 120 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.787, allocations: 0.7094 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.7877, allocations: 0.8237 MB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.7896, allocations: 2.37 MB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7896, allocations: 0 / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7896, allocations: 0 / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.7896, allocations: 0 / 1.027 GB, free: 8.641 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.002175/0.7918, allocations: 1.877 MB / 1.029 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7919, allocations: 8.031 kB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.7922, allocations: 198.5 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.7936, allocations: 0.9455 MB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.7937, allocations: 152.5 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.7939, allocations: 200.4 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.7976, allocations: 2.798 MB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.7976, allocations: 20 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.7978, allocations: 91.94 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/0.7979, allocations: 56 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.8002, allocations: 1.639 MB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008532/0.8087, allocations: 10.48 MB / 1.045 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.8089, allocations: 169.1 kB / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.8089, allocations: 88.02 kB / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.809, allocations: 79.27 kB / 1.045 GB, free: 5.102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.809, allocations: 113.8 kB / 1.045 GB, free: 4.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.809, allocations: 0 / 1.045 GB, free: 4.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001475/0.8092, allocations: 84.94 kB / 1.045 GB, free: 4.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.8093, allocations: 126.7 kB / 1.045 GB, free: 4.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8103, allocations: 0.9088 MB / 1.046 GB, free: 3.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.8103, allocations: 25.7 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.8109, allocations: 0.847 MB / 1.047 GB, free: 2.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.8109, allocations: 15.98 kB / 1.047 GB, free: 2.926 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.8112, allocations: 271 kB / 1.047 GB, free: 2.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8113, allocations: 378.8 kB / 1.048 GB, free: 2.273 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.8115, allocations: 137.2 kB / 1.048 GB, free: 2.141 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.812, allocations: 0.5913 MB / 1.049 GB, free: 1.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.8127, allocations: 0.7727 MB / 1.049 GB, free: 324 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.8128, allocations: 4 kB / 1.049 GB, free: 320 kB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009974/0.8138, allocations: 0.6958 MB / 1.05 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.8138, allocations: 14.81 kB / 1.05 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/0.8138, allocations: 16 kB / 1.05 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.8139, allocations: 27.94 kB / 1.05 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.8141, allocations: 91.77 kB / 1.05 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.012e-05/0.8142, allocations: 35.86 kB / 1.05 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.8145, allocations: 79.12 kB / 1.05 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.8145, allocations: 40 kB / 1.05 GB, free: 15.31 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.001049/0.8156, allocations: 0.7568 MB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.8157, allocations: 164.2 kB / 1.051 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.8158, allocations: 173.3 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/0.8159, allocations: 180.2 kB / 1.052 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.351e-05/0.8159, allocations: 180.3 kB / 1.052 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-05/0.816, allocations: 180.2 kB / 1.052 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.8177, allocations: 1.601 MB / 1.053 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/0.8177, allocations: 108.9 kB / 1.054 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.8178, allocations: 109 kB / 1.054 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.797e-05/0.8179, allocations: 180.2 kB / 1.054 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.8179, allocations: 184.2 kB / 1.054 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.297e-05/0.818, allocations: 180.3 kB / 1.054 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.166e-05/0.8181, allocations: 184.1 kB / 1.054 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.8183, allocations: 359.1 kB / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.8184, allocations: 225.4 kB / 1.055 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.8185, allocations: 176.3 kB / 1.055 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.8186, allocations: 104.9 kB / 1.055 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.8187, allocations: 180.2 kB / 1.055 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.8188, allocations: 109 kB / 1.055 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005245/0.8193, allocations: 0.499 MB / 1.056 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8193, allocations: 0 / 1.056 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009161/0.8202, allocations: 325.3 kB / 1.056 GB, free: 8.996 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.0001498/0.8204, allocations: 178.5 kB / 1.056 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.8208, allocations: 291.6 kB / 1.057 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8208, allocations: 0 / 1.057 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.8208, allocations: 3.938 kB / 1.057 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.8213, allocations: 0.4925 MB / 1.057 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.8249, allocations: 2.339 MB / 1.059 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.826, allocations: 1.399 MB / 1.061 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005441/0.8266, allocations: 300.5 kB / 1.061 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.8266, allocations: 35.44 kB / 1.061 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of SimCode: time 7.82e-07/0.8266, allocations: 3.938 kB / 1.061 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of Templates: time 0.01003/0.8367, allocations: 2.543 MB / 1.064 GB, free: 1.355 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