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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001133/0.001132, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.136/1.136, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.133/2.133, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4556, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002194/0.4578, allocations: 1.256 MB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004088/0.4583, allocations: 231.8 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.4583, allocations: 7.938 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.4586, allocations: 103.4 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.4587, allocations: 67.73 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.4589, allocations: 75.94 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.4595, allocations: 0.7689 MB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.461, allocations: 1.907 MB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.4613, allocations: 470.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.4618, allocations: 0.6776 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4619, allocations: 76 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.4621, allocations: 72 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.4625, allocations: 0.6664 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.4631, allocations: 0.7455 MB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.4646, allocations: 2.308 MB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4646, allocations: 4 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4646, allocations: 0 / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.4646, allocations: 0 / 1.026 GB, free: 9.316 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.001788/0.4664, allocations: 1.869 MB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4664, allocations: 12.03 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/0.4667, allocations: 315.5 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.4669, allocations: 194.6 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4681, allocations: 0.9534 MB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.735e-05/0.4683, allocations: 152.5 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.4684, allocations: 200.4 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.4716, allocations: 2.802 MB / 1.032 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.4717, allocations: 11.88 kB / 1.032 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.4718, allocations: 88 kB / 1.032 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.4719, allocations: 56 kB / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.4739, allocations: 1.639 MB / 1.034 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006546/0.4804, allocations: 10.48 MB / 1.044 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.4805, allocations: 173 kB / 1.044 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.4805, allocations: 80.14 kB / 1.044 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4806, allocations: 83.28 kB / 1.045 GB, free: 5.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.4806, allocations: 105.8 kB / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.796e-06/0.4806, allocations: 4 kB / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.719e-05/0.4807, allocations: 84.89 kB / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4808, allocations: 130.7 kB / 1.045 GB, free: 5.125 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.4815, allocations: 0.9088 MB / 1.046 GB, free: 4.207 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4815, allocations: 25.7 kB / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.482, allocations: 0.8508 MB / 1.047 GB, free: 3.309 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.482, allocations: 19.98 kB / 1.047 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.4822, allocations: 271 kB / 1.047 GB, free: 3.016 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4823, allocations: 378.8 kB / 1.047 GB, free: 2.637 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4825, allocations: 133.2 kB / 1.047 GB, free: 2.508 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.4829, allocations: 0.5795 MB / 1.048 GB, free: 1.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.4835, allocations: 0.7806 MB / 1.049 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4835, allocations: 4 kB / 1.049 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008188/0.4843, allocations: 0.7039 MB / 1.049 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4844, allocations: 12 kB / 1.049 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.4844, allocations: 20 kB / 1.049 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4844, allocations: 20 kB / 1.049 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.4846, allocations: 83.78 kB / 1.05 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.4846, allocations: 31.86 kB / 1.05 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.4849, allocations: 87.66 kB / 1.05 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.4849, allocations: 44 kB / 1.05 GB, free: 15.68 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.0006542/0.4856, allocations: 0.7645 MB / 1.05 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.4857, allocations: 152.3 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.4858, allocations: 169.2 kB / 1.051 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/0.4858, allocations: 180.3 kB / 1.051 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.575e-05/0.4859, allocations: 188.2 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/0.4859, allocations: 180.2 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.4872, allocations: 1.605 MB / 1.053 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/0.4873, allocations: 104.9 kB / 1.053 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.4873, allocations: 101 kB / 1.053 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.334e-05/0.4874, allocations: 176.3 kB / 1.053 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.4874, allocations: 192.2 kB / 1.053 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.4875, allocations: 180.3 kB / 1.054 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.216e-05/0.4875, allocations: 184.2 kB / 1.054 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.4877, allocations: 351.1 kB / 1.054 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.4878, allocations: 229.4 kB / 1.054 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.4879, allocations: 180.3 kB / 1.054 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.488, allocations: 104.9 kB / 1.055 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.488, allocations: 180.3 kB / 1.055 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.488, allocations: 101 kB / 1.055 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004592/0.4885, allocations: 0.4989 MB / 1.055 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4885, allocations: 4 kB / 1.055 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000611/0.4891, allocations: 329.3 kB / 1.056 GB, free: 9.363 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.0003601/0.4895, allocations: 0.8803 MB / 1.056 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.4898, allocations: 295.2 kB / 1.057 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4898, allocations: 0 / 1.057 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4898, allocations: 0 / 1.057 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.4903, allocations: 0.5634 MB / 1.057 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.497, allocations: 7.547 MB / 1.065 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/0.4979, allocations: 1.392 MB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004289/0.4983, allocations: 296.5 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.4988, allocations: 0.5071 MB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4988, allocations: 0 / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/0.819, allocations: 12.16 MB / 1.079 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.8193, allocations: 238.9 kB / 1.079 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.714, allocations: 0 / 1.079 GB, free: 1.039 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > 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/jenkins1/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