Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 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.001264/0.001264, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.118/2.118, allocations: 390.3 MB / 0.6647 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.8127 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5186, allocations: 140.4 MB / 0.9497 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001975/0.5206, allocations: 1.206 MB / 0.9509 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003959/0.521, allocations: 239.9 kB / 0.9511 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.5211, allocations: 11.06 kB / 0.9511 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.5213, allocations: 115.4 kB / 0.9513 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.5215, allocations: 66.59 kB / 0.9513 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.5216, allocations: 79.5 kB / 0.9514 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.5221, allocations: 0.7308 MB / 0.9521 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.5235, allocations: 1.951 MB / 0.954 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.5238, allocations: 0.5589 MB / 0.9546 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.5242, allocations: 0.6846 MB / 0.9552 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.5244, allocations: 115.9 kB / 0.9553 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.5246, allocations: 116 kB / 0.9554 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.525, allocations: 0.7176 MB / 0.9561 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.5256, allocations: 0.8271 MB / 0.957 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.5268, allocations: 2.381 MB / 0.9593 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5268, allocations: 0 / 0.9593 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5268, allocations: 0 / 0.9593 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.5268, allocations: 4.875 kB / 0.9593 GB, free: 3.367 MB / 0.7169 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.001457/0.5283, allocations: 1.864 MB / 0.9611 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.5283, allocations: 9.875 kB / 0.9611 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002595/0.5286, allocations: 313.5 kB / 0.9614 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.5288, allocations: 198.5 kB / 0.9616 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5299, allocations: 0.947 MB / 0.9625 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.53, allocations: 151.2 kB / 0.9627 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.5302, allocations: 199.8 kB / 0.9629 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.5331, allocations: 2.809 MB / 0.9656 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.5332, allocations: 16.03 kB / 0.9656 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.5334, allocations: 91.47 kB / 0.9657 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.5334, allocations: 60.66 kB / 0.9658 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.5354, allocations: 1.635 MB / 0.9674 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006277/0.5417, allocations: 10.47 MB / 0.9776 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.5418, allocations: 173 kB / 0.9778 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.5418, allocations: 84.14 kB / 0.9778 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.5418, allocations: 79.28 kB / 0.9779 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5419, allocations: 109.8 kB / 0.978 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.5419, allocations: 0 / 0.978 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.892e-05/0.542, allocations: 77.05 kB / 0.9781 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.542, allocations: 130.6 kB / 0.9782 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.5428, allocations: 0.9126 MB / 0.9791 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5428, allocations: 25.7 kB / 0.9791 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.5432, allocations: 0.8471 MB / 0.98 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.5432, allocations: 15.98 kB / 0.98 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.5434, allocations: 275 kB / 0.9802 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5436, allocations: 374.8 kB / 0.9806 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.5437, allocations: 133.2 kB / 0.9807 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.5441, allocations: 0.5912 MB / 0.9813 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.5447, allocations: 0.7688 MB / 0.982 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5447, allocations: 4 kB / 0.9821 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008131/0.5455, allocations: 0.6967 MB / 0.9827 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5455, allocations: 15.98 kB / 0.9827 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5455, allocations: 20.09 kB / 0.9828 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.5456, allocations: 24 kB / 0.9828 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.5457, allocations: 91.72 kB / 0.9829 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.5458, allocations: 27.92 kB / 0.9829 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.546, allocations: 87.12 kB / 0.983 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.5461, allocations: 43.94 kB / 0.983 GB, free: 14.51 MB / 0.7481 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.0006704/0.5467, allocations: 0.7567 MB / 0.9838 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.5468, allocations: 160.2 kB / 0.9839 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.5469, allocations: 177 kB / 0.9841 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.59e-05/0.547, allocations: 180.3 kB / 0.9843 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-05/0.547, allocations: 180.2 kB / 0.9844 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.5471, allocations: 184.2 kB / 0.9846 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5483, allocations: 1.605 MB / 0.9862 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.5484, allocations: 108.9 kB / 0.9863 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.5484, allocations: 108.9 kB / 0.9864 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.736e-05/0.5485, allocations: 180.2 kB / 0.9866 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.5485, allocations: 180.3 kB / 0.9867 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-05/0.5486, allocations: 176.3 kB / 0.9869 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.631e-05/0.5486, allocations: 184.2 kB / 0.9871 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.5487, allocations: 363 kB / 0.9874 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.5488, allocations: 217.4 kB / 0.9876 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.5489, allocations: 180.2 kB / 0.9878 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.549, allocations: 108.9 kB / 0.9879 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.5491, allocations: 184.3 kB / 0.9881 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.5491, allocations: 104.9 kB / 0.9882 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004339/0.5495, allocations: 0.4951 MB / 0.9887 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5495, allocations: 0 / 0.9887 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006768/0.5502, allocations: 329.3 kB / 0.989 GB, free: 8.191 MB / 0.7481 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.0003319/0.5506, allocations: 0.8643 MB / 0.9898 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.5509, allocations: 295.6 kB / 0.9901 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5509, allocations: 0 / 0.9901 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.5509, allocations: 0 / 0.9901 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.5513, allocations: 498.9 kB / 0.9906 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/0.5573, allocations: 6.936 MB / 0.9974 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.5583, allocations: 1.399 MB / 0.9987 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.5587, allocations: 296.5 kB / 0.999 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.5591, allocations: 0.5071 MB / 0.9995 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of SimCode: time 4.81e-07/0.5591, allocations: 0 / 0.9995 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.5855, allocations: 12.38 MB / 1.012 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/7.491, allocations: 7.688 kB / 1.012 GB, free: 0.5742 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches