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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001783/0.001783, allocations: 104 kB / 15.6 MB, free: 148 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.002489/0.002488, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.586/1.586, allocations: 222.9 MB / 240.2 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.41 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3575, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003577/0.3611, allocations: 1.184 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3622, allocations: 247.8 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.3626, allocations: 15.88 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.363, allocations: 107.3 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.3634, allocations: 67.73 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.3637, allocations: 79.91 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.3645, allocations: 0.7338 MB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.3672, allocations: 1.958 MB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.368, allocations: 0.5494 MB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3691, allocations: 0.6893 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.3695, allocations: 116 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.3698, allocations: 120 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.3706, allocations: 0.7172 MB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.3719, allocations: 0.8275 MB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.3747, allocations: 2.372 MB / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3747, allocations: 0 / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3747, allocations: 3.938 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000117/0.3749, allocations: 0 / 1.078 GB, free: 0.5352 MB / 0.8262 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.005366/0.3802, allocations: 1.873 MB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.364e-05/0.3803, allocations: 8.031 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3808, allocations: 194.6 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.3826, allocations: 0.9493 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3828, allocations: 160.5 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.3831, allocations: 196.4 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004584/0.3877, allocations: 2.806 MB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.838e-05/0.3878, allocations: 12.06 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.388, allocations: 91.94 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.3881, allocations: 56 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.3909, allocations: 1.639 MB / 1.086 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009084/0.4, allocations: 10.47 MB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4002, allocations: 173.2 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.4002, allocations: 84.08 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.4002, allocations: 75.28 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.4003, allocations: 109.8 kB / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.4003, allocations: 0 / 1.096 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001447/0.4005, allocations: 80.98 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.4005, allocations: 130.7 kB / 1.096 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.4015, allocations: 0.9204 MB / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4015, allocations: 25.7 kB / 1.097 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/0.402, allocations: 0.8394 MB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.402, allocations: 11.98 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.4023, allocations: 271 kB / 1.098 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4024, allocations: 382.7 kB / 1.099 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.4026, allocations: 137.2 kB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.4031, allocations: 0.5834 MB / 1.099 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.4037, allocations: 0.7767 MB / 1.1 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.4038, allocations: 4 kB / 1.1 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009078/0.4047, allocations: 0.6964 MB / 1.101 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4047, allocations: 13.88 kB / 1.101 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.4047, allocations: 16 kB / 1.101 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/0.4048, allocations: 27.98 kB / 1.101 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.405, allocations: 83.72 kB / 1.101 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-05/0.405, allocations: 35.86 kB / 1.101 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4053, allocations: 83.06 kB / 1.101 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.4054, allocations: 40.38 kB / 1.101 GB, free: 7.234 MB / 0.8575 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.000861/0.4062, allocations: 0.7569 MB / 1.102 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.4063, allocations: 164.2 kB / 1.102 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.4064, allocations: 173.1 kB / 1.102 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-05/0.4065, allocations: 180.2 kB / 1.102 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-05/0.4066, allocations: 188.2 kB / 1.103 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/0.4067, allocations: 180.3 kB / 1.103 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.4082, allocations: 1.608 MB / 1.104 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.4082, allocations: 109 kB / 1.104 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.4083, allocations: 104.9 kB / 1.105 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.89e-05/0.4083, allocations: 180.3 kB / 1.105 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.4084, allocations: 180.3 kB / 1.105 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-05/0.4085, allocations: 184.2 kB / 1.105 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.584e-05/0.4085, allocations: 176.3 kB / 1.105 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4087, allocations: 359 kB / 1.106 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.4088, allocations: 225.3 kB / 1.106 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.4089, allocations: 188.2 kB / 1.106 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.409, allocations: 105 kB / 1.106 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.4091, allocations: 180.2 kB / 1.106 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.4091, allocations: 105 kB / 1.106 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005037/0.4097, allocations: 0.499 MB / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4097, allocations: 0 / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008421/0.4105, allocations: 329.3 kB / 1.107 GB, free: 0.8984 MB / 0.8575 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.0001556/0.4107, allocations: 175.1 kB / 1.107 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4111, allocations: 299.5 kB / 1.108 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4111, allocations: 0 / 1.108 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4111, allocations: 0 / 1.108 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.4116, allocations: 0.4979 MB / 1.108 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.4148, allocations: 2.35 MB / 1.11 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.4159, allocations: 1.395 MB / 1.112 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004823/0.4163, allocations: 292.5 kB / 1.112 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.4164, allocations: 35.44 kB / 1.112 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.4164, allocations: 0 / 1.112 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.009137/0.4256, allocations: 2.562 MB / 1.115 GB, free: 9.25 MB / 0.8731 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/jenkins/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