Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001303/0.001303, allocations: 105.9 kB / 16.41 MB, free: 6.457 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.0012/0.0012, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.432/2.432, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7099, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002706/0.7127, allocations: 1.204 MB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.7134, allocations: 235.8 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.7136, allocations: 15.88 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.7138, allocations: 111.3 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.7141, allocations: 71.72 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.7142, allocations: 83.91 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.715, allocations: 0.726 MB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.7169, allocations: 1.957 MB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.7175, allocations: 0.5573 MB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.7182, allocations: 0.6893 MB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.7185, allocations: 120 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.7188, allocations: 116 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.7194, allocations: 0.7132 MB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.7202, allocations: 0.8237 MB / 1.216 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.722, allocations: 2.501 MB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.722, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.722, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.722, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 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.001851/0.7239, allocations: 1.873 MB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7239, allocations: 8.031 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.7242, allocations: 194.6 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.7254, allocations: 0.9494 MB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.7255, allocations: 148.5 kB / 1.221 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.7257, allocations: 200.3 kB / 1.221 GB, free: 176 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/0.729, allocations: 2.802 MB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.7291, allocations: 16.06 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.7292, allocations: 95.94 kB / 1.224 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.7293, allocations: 56 kB / 1.224 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.7314, allocations: 1.642 MB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007148/0.7385, allocations: 10.47 MB / 1.236 GB, free: 476 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.7386, allocations: 169.1 kB / 1.236 GB, free: 296 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.7387, allocations: 84.08 kB / 1.236 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.7387, allocations: 79.28 kB / 1.236 GB, free: 128 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.7388, allocations: 117.8 kB / 1.237 GB, free: 0 / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.7388, allocations: 0 / 1.237 GB, free: 0 / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001566/0.7389, allocations: 81.16 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.739, allocations: 126.7 kB / 1.237 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.7399, allocations: 0.9164 MB / 1.238 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.7399, allocations: 25.7 kB / 1.238 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.7404, allocations: 0.847 MB / 1.238 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.7404, allocations: 11.98 kB / 1.238 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.7406, allocations: 275 kB / 1.239 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.7408, allocations: 378.8 kB / 1.239 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.7409, allocations: 133.2 kB / 1.239 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.7414, allocations: 0.5873 MB / 1.24 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.742, allocations: 0.7689 MB / 1.241 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7421, allocations: 4 kB / 1.241 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009179/0.743, allocations: 0.6997 MB / 1.241 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.743, allocations: 13 kB / 1.241 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.743, allocations: 16 kB / 1.241 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.7431, allocations: 28 kB / 1.241 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.7433, allocations: 91.7 kB / 1.241 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/0.7433, allocations: 27.92 kB / 1.241 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.7436, allocations: 87.12 kB / 1.241 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.7436, allocations: 36 kB / 1.242 GB, free: 10.34 MB / 0.9669 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.0007871/0.7444, allocations: 0.7568 MB / 1.242 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.7445, allocations: 156.3 kB / 1.242 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.7446, allocations: 177.2 kB / 1.243 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/0.7447, allocations: 176.3 kB / 1.243 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/0.7447, allocations: 184.2 kB / 1.243 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.7448, allocations: 180.3 kB / 1.243 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.7462, allocations: 1.608 MB / 1.245 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.7463, allocations: 112.9 kB / 1.245 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.7463, allocations: 105 kB / 1.245 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.7464, allocations: 184.2 kB / 1.245 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.7464, allocations: 180.3 kB / 1.245 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.344e-05/0.7465, allocations: 180.2 kB / 1.245 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-05/0.7465, allocations: 176.3 kB / 1.246 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.7467, allocations: 367 kB / 1.246 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7468, allocations: 221.3 kB / 1.246 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.7469, allocations: 184.1 kB / 1.246 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.747, allocations: 105 kB / 1.246 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.7471, allocations: 184.2 kB / 1.247 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.7471, allocations: 112.9 kB / 1.247 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004655/0.7476, allocations: 0.4951 MB / 1.247 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7476, allocations: 0 / 1.247 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007325/0.7483, allocations: 325.3 kB / 1.247 GB, free: 4.004 MB / 0.9669 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.0001319/0.7484, allocations: 178.5 kB / 1.248 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.7488, allocations: 295.3 kB / 1.248 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7488, allocations: 0 / 1.248 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.7488, allocations: 0 / 1.248 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.7493, allocations: 498.6 kB / 1.248 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.7522, allocations: 2.426 MB / 1.251 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.7531, allocations: 1.391 MB / 1.252 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.7532, allocations: 43.44 kB / 1.252 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.7532, allocations: 3.938 kB / 1.252 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.0142/0.7674, allocations: 11.27 MB / 1.263 GB, free: 3.836 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches