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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008164/0.008164, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002/0.002, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.596/2.596, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.89 kB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6769, allocations: 159.1 MB / 1.22 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002399/0.6793, allocations: 1.194 MB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005911/0.6799, allocations: 243.8 kB / 1.221 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.6801, allocations: 15.88 kB / 1.221 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.6804, allocations: 115.3 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.6806, allocations: 71.72 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.6808, allocations: 75.92 kB / 1.221 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.6815, allocations: 0.7376 MB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.6834, allocations: 1.954 MB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.6839, allocations: 0.5533 MB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.6846, allocations: 0.6854 MB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.6848, allocations: 116 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.685, allocations: 116 kB / 1.225 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005747/0.6856, allocations: 0.7219 MB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008126/0.6864, allocations: 0.8198 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.6884, allocations: 2.509 MB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6884, allocations: 8 kB / 1.229 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6884, allocations: 0 / 1.229 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.655e-05/0.6885, allocations: 0 / 1.229 GB, free: 8.105 MB / 0.9512 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.002588/0.6911, allocations: 1.906 MB / 1.231 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6911, allocations: 12.62 kB / 1.231 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000448/0.6916, allocations: 315.5 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.6919, allocations: 203.7 kB / 1.232 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6936, allocations: 0.9575 MB / 1.233 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.6937, allocations: 152.5 kB / 1.233 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.6939, allocations: 200.4 kB / 1.233 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.6974, allocations: 2.802 MB / 1.236 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.6974, allocations: 15.81 kB / 1.236 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.6976, allocations: 91.98 kB / 1.236 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.6977, allocations: 56 kB / 1.236 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.6998, allocations: 1.635 MB / 1.238 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007681/0.7075, allocations: 10.5 MB / 1.248 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.7076, allocations: 177.1 kB / 1.248 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.7077, allocations: 84.14 kB / 1.248 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.7077, allocations: 79.27 kB / 1.248 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.7078, allocations: 105.8 kB / 1.248 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.7078, allocations: 3.938 kB / 1.248 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.000128/0.7079, allocations: 85.27 kB / 1.248 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.708, allocations: 134.6 kB / 1.248 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008964/0.7089, allocations: 0.925 MB / 1.249 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.7089, allocations: 25.7 kB / 1.249 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.7094, allocations: 0.8659 MB / 1.25 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.7094, allocations: 15.98 kB / 1.25 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.7097, allocations: 275.1 kB / 1.25 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7098, allocations: 374.8 kB / 1.251 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.71, allocations: 133.2 kB / 1.251 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.7104, allocations: 0.599 MB / 1.252 GB, free: 372 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.7111, allocations: 0.7689 MB / 1.252 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.7111, allocations: 4 kB / 1.252 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009531/0.7121, allocations: 0.7046 MB / 1.253 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7121, allocations: 12 kB / 1.253 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.7122, allocations: 20 kB / 1.253 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.7122, allocations: 20 kB / 1.253 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.7124, allocations: 91.7 kB / 1.253 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.7124, allocations: 35.84 kB / 1.253 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.7128, allocations: 87.34 kB / 1.253 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.7128, allocations: 40 kB / 1.253 GB, free: 14.35 MB / 0.9825 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.0007391/0.7135, allocations: 0.7571 MB / 1.254 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.7136, allocations: 160.5 kB / 1.254 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.7138, allocations: 169.3 kB / 1.254 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/0.7138, allocations: 180.3 kB / 1.255 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.527e-05/0.7139, allocations: 180.2 kB / 1.255 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.7139, allocations: 180.3 kB / 1.255 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.7154, allocations: 1.612 MB / 1.256 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/0.7154, allocations: 101 kB / 1.257 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.7155, allocations: 108.9 kB / 1.257 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.694e-05/0.7155, allocations: 180.3 kB / 1.257 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.7156, allocations: 180.3 kB / 1.257 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.181e-05/0.7157, allocations: 184.2 kB / 1.257 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-05/0.7157, allocations: 176.3 kB / 1.257 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.7159, allocations: 367.3 kB / 1.258 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.716, allocations: 221.7 kB / 1.258 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.7161, allocations: 188.1 kB / 1.258 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.7162, allocations: 101 kB / 1.258 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.7163, allocations: 188.2 kB / 1.258 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.7163, allocations: 105 kB / 1.258 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005013/0.7168, allocations: 0.4951 MB / 1.259 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7168, allocations: 0 / 1.259 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007793/0.7176, allocations: 334.1 kB / 1.259 GB, free: 8.023 MB / 0.9825 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.0004119/0.718, allocations: 0.8785 MB / 1.26 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.7184, allocations: 295.7 kB / 1.26 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7184, allocations: 8.188 kB / 1.26 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.7184, allocations: 0 / 1.26 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.7189, allocations: 494.7 kB / 1.261 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/0.7263, allocations: 6.865 MB / 1.268 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.7274, allocations: 1.399 MB / 1.269 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004796/0.7279, allocations: 296.5 kB / 1.269 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.7285, allocations: 0.5071 MB / 1.27 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.7285, allocations: 0 / 1.27 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.7597, allocations: 12.61 MB / 1.282 GB, free: 240 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.905, allocations: 8.344 kB / 1.282 GB, free: 236 kB / 0.9981 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 50 --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