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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001217/0.001217, 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.001363/0.001363, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5078, allocations: 151.6 MB / 1.017 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002397/0.5103, allocations: 1.202 MB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.5108, allocations: 235.8 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.511, allocations: 11.88 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.5112, allocations: 111.3 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.5114, allocations: 71.72 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.5116, allocations: 79.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.5122, allocations: 0.7339 MB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.5139, allocations: 1.954 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.5144, allocations: 0.5533 MB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.515, allocations: 0.6893 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.5152, allocations: 116 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.5154, allocations: 120 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.5159, allocations: 0.7172 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007527/0.5167, allocations: 0.8237 MB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.5183, allocations: 2.37 MB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5183, allocations: 0 / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5183, allocations: 0 / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.02e-05/0.5184, allocations: 0 / 1.027 GB, free: 8.598 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.002072/0.5204, allocations: 1.87 MB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.5205, allocations: 8.031 kB / 1.029 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.5208, allocations: 323.4 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.521, allocations: 206.5 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.5222, allocations: 0.9417 MB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/0.5223, allocations: 156.5 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.5225, allocations: 200.4 kB / 1.031 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.5255, allocations: 2.802 MB / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.5256, allocations: 11.88 kB / 1.033 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.5257, allocations: 88 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.5258, allocations: 60 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.5278, allocations: 1.639 MB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006473/0.5343, allocations: 10.48 MB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.5344, allocations: 173 kB / 1.045 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.5344, allocations: 84.14 kB / 1.046 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5344, allocations: 75.28 kB / 1.046 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5345, allocations: 113.8 kB / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.5345, allocations: 0 / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001049/0.5346, allocations: 80.94 kB / 1.046 GB, free: 4.535 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.5346, allocations: 130.7 kB / 1.046 GB, free: 4.395 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/0.5354, allocations: 0.9126 MB / 1.047 GB, free: 3.473 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.5354, allocations: 25.7 kB / 1.047 GB, free: 3.441 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.5358, allocations: 0.8432 MB / 1.048 GB, free: 2.582 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.5358, allocations: 15.98 kB / 1.048 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.5361, allocations: 275 kB / 1.048 GB, free: 2.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5362, allocations: 370.8 kB / 1.048 GB, free: 1.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.5364, allocations: 141.2 kB / 1.048 GB, free: 1.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.5367, allocations: 0.5834 MB / 1.049 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.5373, allocations: 0.7728 MB / 1.05 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5373, allocations: 4 kB / 1.05 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000829/0.5382, allocations: 0.6999 MB / 1.05 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5382, allocations: 15.94 kB / 1.05 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.5382, allocations: 16 kB / 1.05 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.5382, allocations: 24.75 kB / 1.05 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.5384, allocations: 83.77 kB / 1.051 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.5385, allocations: 39.86 kB / 1.051 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.5387, allocations: 83.12 kB / 1.051 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5388, allocations: 40 kB / 1.051 GB, free: 14.96 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.0007077/0.5395, allocations: 0.7617 MB / 1.051 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.5396, allocations: 156.2 kB / 1.052 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.313e-05/0.5397, allocations: 169.2 kB / 1.052 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.5397, allocations: 184.2 kB / 1.052 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.76e-05/0.5398, allocations: 184.3 kB / 1.052 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/0.5398, allocations: 180.2 kB / 1.052 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5411, allocations: 1.604 MB / 1.054 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.5411, allocations: 108.9 kB / 1.054 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.5412, allocations: 105 kB / 1.054 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.314e-05/0.5412, allocations: 184.2 kB / 1.054 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.5413, allocations: 180.2 kB / 1.054 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/0.5413, allocations: 180.3 kB / 1.055 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.486e-05/0.5414, allocations: 184.2 kB / 1.055 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.5415, allocations: 359 kB / 1.055 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.5416, allocations: 221.4 kB / 1.055 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.5417, allocations: 180.3 kB / 1.055 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.5418, allocations: 104.9 kB / 1.056 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.5418, allocations: 176.3 kB / 1.056 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.5419, allocations: 112.9 kB / 1.056 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004304/0.5423, allocations: 0.499 MB / 1.056 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5423, allocations: 0 / 1.056 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007028/0.543, allocations: 329.3 kB / 1.057 GB, free: 8.637 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.0003621/0.5434, allocations: 0.8666 MB / 1.058 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.5437, allocations: 290.6 kB / 1.058 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5437, allocations: 0 / 1.058 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.5437, allocations: 0 / 1.058 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.5442, allocations: 0.4941 MB / 1.058 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.5505, allocations: 6.959 MB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008989/0.5514, allocations: 1.395 MB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004602/0.5519, allocations: 296.5 kB / 1.067 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.5523, allocations: 0.5071 MB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of SimCode: time 7.72e-07/0.5523, allocations: 0 / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.5795, allocations: 12.36 MB / 1.079 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.55, allocations: 25.02 kB / 1.079 GB, free: 1 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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