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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001439/0.001439, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001596/0.001596, allocations: 191 kB / 17.29 MB, free: 5.516 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.63/2.63, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 66.89 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3463, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002999/0.3493, allocations: 1.21 MB / 1.028 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.35, allocations: 239.8 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.3502, allocations: 11.88 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3505, allocations: 111.3 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.3508, allocations: 67.72 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3509, allocations: 75.92 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.3517, allocations: 0.7376 MB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.3539, allocations: 1.958 MB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.3545, allocations: 0.5495 MB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.3554, allocations: 0.6931 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.3557, allocations: 116 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.3559, allocations: 116 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006517/0.3566, allocations: 0.725 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3577, allocations: 0.8236 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.36, allocations: 2.503 MB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.36, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.665e-06/0.36, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.3601, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 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.002482/0.3626, allocations: 1.866 MB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3626, allocations: 11.97 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.3629, allocations: 194.6 kB / 1.038 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.3649, allocations: 0.9455 MB / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.3651, allocations: 152.5 kB / 1.04 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.3654, allocations: 204.3 kB / 1.04 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.3695, allocations: 2.802 MB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.3695, allocations: 12.06 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.3697, allocations: 99.94 kB / 1.043 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.3698, allocations: 56 kB / 1.043 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.3723, allocations: 1.646 MB / 1.044 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.3827, allocations: 10.46 MB / 1.054 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3828, allocations: 173.1 kB / 1.055 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.3829, allocations: 88.08 kB / 1.055 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.3829, allocations: 79.28 kB / 1.055 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.383, allocations: 105.8 kB / 1.055 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 3.036e-06/0.383, allocations: 0 / 1.055 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001581/0.3831, allocations: 84.98 kB / 1.055 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3832, allocations: 126.7 kB / 1.055 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.3842, allocations: 0.9127 MB / 1.056 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3842, allocations: 25.7 kB / 1.056 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000864/0.385, allocations: 0.8392 MB / 1.057 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.3851, allocations: 19.98 kB / 1.057 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.3855, allocations: 267 kB / 1.057 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.3857, allocations: 378.8 kB / 1.057 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3859, allocations: 137.2 kB / 1.058 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.3864, allocations: 0.5834 MB / 1.058 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.3871, allocations: 0.7767 MB / 1.059 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.3872, allocations: 4 kB / 1.059 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001012/0.3882, allocations: 0.7002 MB / 1.06 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.3882, allocations: 16 kB / 1.06 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3882, allocations: 16 kB / 1.06 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.3883, allocations: 23.98 kB / 1.06 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3885, allocations: 87.72 kB / 1.06 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/0.3885, allocations: 27.92 kB / 1.06 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.3889, allocations: 91.06 kB / 1.06 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3889, allocations: 40.41 kB / 1.06 GB, free: 14.73 MB / 0.8419 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.0008852/0.3898, allocations: 0.7568 MB / 1.061 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3899, allocations: 156.3 kB / 1.061 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3901, allocations: 173.2 kB / 1.061 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.937e-05/0.3901, allocations: 184.2 kB / 1.061 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.754e-05/0.3902, allocations: 188.1 kB / 1.061 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-05/0.3903, allocations: 180.3 kB / 1.061 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3921, allocations: 1.605 MB / 1.063 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-05/0.3921, allocations: 108.9 kB / 1.063 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3921, allocations: 101 kB / 1.063 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-05/0.3922, allocations: 180.2 kB / 1.063 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.3923, allocations: 184.3 kB / 1.064 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.019e-05/0.3924, allocations: 176.3 kB / 1.064 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-05/0.3924, allocations: 184.2 kB / 1.064 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3927, allocations: 359 kB / 1.064 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3928, allocations: 225.3 kB / 1.064 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.393, allocations: 192.2 kB / 1.065 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.3931, allocations: 108.9 kB / 1.065 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3931, allocations: 180.3 kB / 1.065 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.3932, allocations: 105.2 kB / 1.065 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005482/0.3937, allocations: 0.4951 MB / 1.065 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3937, allocations: 0 / 1.065 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008726/0.3946, allocations: 337.3 kB / 1.066 GB, free: 8.387 MB / 0.8419 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.000212/0.3948, allocations: 170.5 kB / 1.066 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.3953, allocations: 291.2 kB / 1.066 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3953, allocations: 0 / 1.066 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.3953, allocations: 0.6875 kB / 1.066 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.3958, allocations: 0.4947 MB / 1.067 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.399, allocations: 2.307 MB / 1.069 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.4001, allocations: 1.395 MB / 1.07 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005095/0.4006, allocations: 292.5 kB / 1.071 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.4006, allocations: 35.44 kB / 1.071 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of SimCode: time 3.617e-06/0.4007, allocations: 0 / 1.071 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of Templates: time 0.008914/0.4096, allocations: 2.562 MB / 1.073 GB, free: 0.793 MB / 0.8419 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 -s gbode -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