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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_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_latest_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.004174/0.004174, allocations: 97.28 kB / 15.73 MB, free: 6.031 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.001222/0.001222, allocations: 196.4 kB / 16.68 MB, free: 5.961 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2828, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002437/0.2852, allocations: 1.188 MB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005246/0.2858, allocations: 243.8 kB / 1.243 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.2859, allocations: 15.88 kB / 1.243 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2861, allocations: 111.3 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2863, allocations: 63.75 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.2865, allocations: 79.89 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008206/0.2873, allocations: 0.7337 MB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.2894, allocations: 1.958 MB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.2899, allocations: 0.5494 MB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007227/0.2907, allocations: 0.6893 MB / 1.247 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.2909, allocations: 116 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.2911, allocations: 120 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006863/0.2918, allocations: 0.7288 MB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.2926, allocations: 0.8198 MB / 1.249 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.2948, allocations: 2.509 MB / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2948, allocations: 0 / 1.251 GB, free: 284 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2949, allocations: 3.938 kB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.2949, allocations: 0 / 1.251 GB, free: 280 kB / 0.9981 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.4679/0.7627, allocations: 1.906 MB / 1.253 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7628, allocations: 9.281 kB / 1.253 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004566/0.7632, allocations: 314.7 kB / 1.253 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.7636, allocations: 204.4 kB / 1.254 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.765, allocations: 0.9527 MB / 1.254 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7651, allocations: 155.4 kB / 1.255 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.7654, allocations: 196.2 kB / 1.255 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.7689, allocations: 2.806 MB / 1.258 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.769, allocations: 13.38 kB / 1.258 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.7691, allocations: 87.69 kB / 1.258 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.7692, allocations: 56.03 kB / 1.258 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.7714, allocations: 1.647 MB / 1.259 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.7768, allocations: 10.5 MB / 1.27 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4e-05/0.7769, allocations: 174.1 kB / 1.27 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.7769, allocations: 84.7 kB / 1.27 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.7769, allocations: 75.28 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.7769, allocations: 108.1 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7769, allocations: 4 kB / 1.27 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.299e-05/0.777, allocations: 82.09 kB / 1.27 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.7771, allocations: 126.7 kB / 1.27 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.7778, allocations: 0.9197 MB / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.7779, allocations: 31.36 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.7782, allocations: 0.8751 MB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.7782, allocations: 14.03 kB / 1.272 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.7784, allocations: 272.5 kB / 1.272 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.7785, allocations: 377.9 kB / 1.273 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.7787, allocations: 135 kB / 1.273 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.779, allocations: 0.5792 MB / 1.273 GB, free: 452 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.7796, allocations: 0.7794 MB / 1.274 GB, free: 15.67 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.7796, allocations: 3.75 kB / 1.274 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000959/0.7806, allocations: 0.7081 MB / 1.275 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7806, allocations: 12.59 kB / 1.275 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.7807, allocations: 16.41 kB / 1.275 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.7807, allocations: 22.33 kB / 1.275 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.7809, allocations: 84.62 kB / 1.275 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.7809, allocations: 33.05 kB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.7812, allocations: 95.11 kB / 1.275 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.7813, allocations: 46.62 kB / 1.275 GB, free: 15.29 MB / 1.014 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.0007804/0.7821, allocations: 0.7575 MB / 1.276 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.7822, allocations: 157.5 kB / 1.276 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.7823, allocations: 170.8 kB / 1.276 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/0.7824, allocations: 178.2 kB / 1.276 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-05/0.7825, allocations: 186.2 kB / 1.276 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/0.7826, allocations: 182.3 kB / 1.277 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.7842, allocations: 1.603 MB / 1.278 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-05/0.7842, allocations: 105.8 kB / 1.278 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.7843, allocations: 102.7 kB / 1.278 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.7844, allocations: 182.6 kB / 1.279 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/0.7845, allocations: 183.7 kB / 1.279 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.083e-05/0.7845, allocations: 177.8 kB / 1.279 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.779e-05/0.7846, allocations: 185.6 kB / 1.279 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.7848, allocations: 360 kB / 1.279 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.785, allocations: 235.9 kB / 1.28 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7851, allocations: 185.1 kB / 1.28 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7852, allocations: 106.5 kB / 1.28 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.7853, allocations: 177.6 kB / 1.28 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.7854, allocations: 105.7 kB / 1.28 GB, free: 11.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006235/0.786, allocations: 0.4959 MB / 1.281 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.786, allocations: 4 kB / 1.281 GB, free: 11.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008832/0.7869, allocations: 335.8 kB / 1.281 GB, free: 10.96 MB / 1.014 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.0005448/0.7875, allocations: 0.868 MB / 1.282 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.7879, allocations: 294.4 kB / 1.282 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7879, allocations: 1.25 kB / 1.282 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.7879, allocations: 0 / 1.282 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.7884, allocations: 495.4 kB / 1.283 GB, free: 9.551 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.796, allocations: 6.871 MB / 1.289 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.7972, allocations: 1.396 MB / 1.291 GB, free: 4.582 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004643/0.7977, allocations: 295.5 kB / 1.291 GB, free: 4.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005713/0.7983, allocations: 0.5071 MB / 1.291 GB, free: 4.133 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7983, allocations: 0 / 1.291 GB, free: 4.133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.8342, allocations: 12.61 MB / 1.304 GB, free: 2.906 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.349, allocations: 14.95 kB / 1.304 GB, free: 2.898 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > 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.csv","/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