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.001095/0.001095, allocations: 99.19 kB / 16.02 MB, free: 76 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.002117/0.002116, allocations: 185.4 kB / 16.92 MB, free: 6.75 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.9/2.9, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 8.125 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001669/0.345, allocations: 0.8846 MB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.3458, allocations: 235.8 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.346, allocations: 11.88 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.3464, allocations: 99.47 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.3468, allocations: 67.73 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3471, allocations: 71.88 kB / 1.061 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3482, allocations: 0.7651 MB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00273/0.351, allocations: 1.875 MB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.3514, allocations: 206.9 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.3519, allocations: 402.1 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.352, allocations: 15.94 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.352, allocations: 16 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.3526, allocations: 0.5299 MB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.3533, allocations: 0.595 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.3552, allocations: 1.929 MB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.72e-05/0.3552, allocations: 4 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3552, allocations: 0 / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001077/0.3554, allocations: 0 / 1.067 GB, free: 13.15 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.002713/0.3581, allocations: 1.46 MB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3581, allocations: 11.97 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.3587, allocations: 198.5 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.3605, allocations: 0.9494 MB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.3606, allocations: 148.5 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/0.361, allocations: 204.4 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.3662, allocations: 2.798 MB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.354e-05/0.3663, allocations: 12.06 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.3666, allocations: 95.94 kB / 1.073 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.3667, allocations: 56 kB / 1.073 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.3696, allocations: 1.643 MB / 1.074 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.3799, allocations: 10.46 MB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.38, allocations: 173.1 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.3801, allocations: 88.02 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.3801, allocations: 79.28 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.3802, allocations: 109.8 kB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.3802, allocations: 0 / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001766/0.3804, allocations: 80.98 kB / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.3804, allocations: 130.7 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3817, allocations: 0.9126 MB / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3817, allocations: 29.64 kB / 1.086 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.3824, allocations: 0.8471 MB / 1.087 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3824, allocations: 11.98 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.3827, allocations: 202.7 kB / 1.087 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3829, allocations: 374.8 kB / 1.087 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3831, allocations: 137.2 kB / 1.088 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3836, allocations: 0.5873 MB / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.3844, allocations: 0.7728 MB / 1.089 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.3845, allocations: 4 kB / 1.089 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001131/0.3856, allocations: 0.7004 MB / 1.09 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3856, allocations: 12 kB / 1.09 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.3857, allocations: 16 kB / 1.09 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/0.3857, allocations: 24 kB / 1.09 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.386, allocations: 87.7 kB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-05/0.386, allocations: 35.86 kB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.3864, allocations: 87.06 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.3864, allocations: 40 kB / 1.09 GB, free: 4.312 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.001097/0.3875, allocations: 0.7532 MB / 1.091 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3877, allocations: 164.1 kB / 1.091 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.3878, allocations: 173.3 kB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.487e-05/0.3879, allocations: 176.3 kB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.3879, allocations: 188.2 kB / 1.091 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.826e-05/0.388, allocations: 180.3 kB / 1.091 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.3901, allocations: 1.608 MB / 1.093 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/0.3902, allocations: 105 kB / 1.093 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3902, allocations: 101 kB / 1.093 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.3903, allocations: 184.2 kB / 1.093 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.3904, allocations: 176.3 kB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.558e-05/0.3904, allocations: 188.2 kB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-05/0.3905, allocations: 184.3 kB / 1.094 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3908, allocations: 355.3 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3909, allocations: 217.4 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/0.391, allocations: 196.2 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3911, allocations: 101 kB / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.3912, allocations: 180.2 kB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.3913, allocations: 112.9 kB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005918/0.3919, allocations: 0.4989 MB / 1.095 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3919, allocations: 0 / 1.095 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009713/0.3929, allocations: 329.3 kB / 1.096 GB, free: 13.98 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.0001437/0.393, allocations: 178.5 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.3935, allocations: 287.6 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3935, allocations: 4 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3935, allocations: 0 / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.3941, allocations: 0.5668 MB / 1.097 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.3986, allocations: 3.095 MB / 1.1 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.3999, allocations: 1.392 MB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.3999, allocations: 39.44 kB / 1.101 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of SimCode: time 1.353e-06/0.3999, allocations: 4 kB / 1.101 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of Templates: time 0.01788/0.4178, allocations: 10.96 MB / 1.112 GB, free: 13.38 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/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