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.009957/0.009957, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.002628/0.002628, allocations: 198.7 kB / 16.68 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 2.596/2.596, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 4.506/4.506, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002528/0.002528, allocations: 66.84 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5071, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.005321/0.5125, allocations: 1.21 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.5138, allocations: 235.8 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.5141, allocations: 11.88 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.5147, allocations: 119.3 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.5152, allocations: 71.72 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.5155, allocations: 71.92 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.517, allocations: 0.7415 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004083/0.5211, allocations: 1.946 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.5222, allocations: 0.5611 MB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.524, allocations: 0.6854 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00066/0.5247, allocations: 116 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.5253, allocations: 120 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.5266, allocations: 0.7211 MB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.529, allocations: 0.8198 MB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.5336, allocations: 2.514 MB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.5336, allocations: 3.984 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5336, allocations: 0 / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001148/0.5337, allocations: 0 / 1.097 GB, free: 8.008 MB / 0.8575 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.007057/0.5408, allocations: 1.91 MB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.5409, allocations: 11.97 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001251/0.5422, allocations: 319.5 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.5431, allocations: 203.6 kB / 1.1 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.5463, allocations: 0.9536 MB / 1.1 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.5466, allocations: 152.5 kB / 1.101 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/0.5471, allocations: 196.4 kB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007844/0.5549, allocations: 2.802 MB / 1.104 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.199e-05/0.5551, allocations: 19.75 kB / 1.104 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.5554, allocations: 92 kB / 1.104 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.805e-05/0.5555, allocations: 56 kB / 1.104 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.5607, allocations: 1.646 MB / 1.105 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.5781, allocations: 10.5 MB / 1.116 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.5784, allocations: 173.1 kB / 1.116 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.5784, allocations: 80.14 kB / 1.116 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.5785, allocations: 79.28 kB / 1.116 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.537e-05/0.5786, allocations: 113.8 kB / 1.116 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.677e-06/0.5786, allocations: 0 / 1.116 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002725/0.5789, allocations: 85.27 kB / 1.116 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.579, allocations: 130.7 kB / 1.116 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.5808, allocations: 0.9133 MB / 1.117 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5808, allocations: 25.7 kB / 1.117 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.5819, allocations: 0.8853 MB / 1.118 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.5819, allocations: 11.98 kB / 1.118 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/0.5825, allocations: 275.2 kB / 1.118 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000283/0.5828, allocations: 374.8 kB / 1.119 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.5831, allocations: 133.2 kB / 1.119 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.584, allocations: 0.5873 MB / 1.119 GB, free: 268 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.5854, allocations: 0.765 MB / 1.12 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.5854, allocations: 8 kB / 1.12 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001993/0.5874, allocations: 0.7047 MB / 1.121 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.5875, allocations: 12 kB / 1.121 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.5875, allocations: 20.12 kB / 1.121 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.297e-05/0.5876, allocations: 20 kB / 1.121 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.588, allocations: 91.7 kB / 1.121 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.116e-05/0.5881, allocations: 31.86 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.5888, allocations: 87.41 kB / 1.121 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.5889, allocations: 40 kB / 1.121 GB, free: 14.25 MB / 0.8887 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.00207/0.591, allocations: 0.7568 MB / 1.122 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.5912, allocations: 164.5 kB / 1.122 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.5914, allocations: 169.3 kB / 1.122 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/0.5915, allocations: 184.3 kB / 1.122 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.5916, allocations: 180.2 kB / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.5918, allocations: 184.2 kB / 1.123 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.5949, allocations: 1.612 MB / 1.124 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.912e-05/0.595, allocations: 105 kB / 1.124 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.5951, allocations: 104.9 kB / 1.124 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.5952, allocations: 184.2 kB / 1.125 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5953, allocations: 176.3 kB / 1.125 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001173/0.5955, allocations: 180.2 kB / 1.125 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/0.5956, allocations: 184.3 kB / 1.125 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.5959, allocations: 363.3 kB / 1.125 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.5961, allocations: 221.7 kB / 1.126 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.5963, allocations: 180.2 kB / 1.126 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5965, allocations: 109 kB / 1.126 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5967, allocations: 188.2 kB / 1.126 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.5968, allocations: 105.3 kB / 1.126 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001049/0.5978, allocations: 0.4951 MB / 1.127 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5978, allocations: 0 / 1.127 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001808/0.5997, allocations: 342.1 kB / 1.127 GB, free: 7.906 MB / 0.8887 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.0008693/0.6005, allocations: 0.8635 MB / 1.128 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008993/0.6015, allocations: 291.5 kB / 1.128 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6015, allocations: 3.938 kB / 1.128 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.6015, allocations: 4 kB / 1.128 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.6025, allocations: 0.4913 MB / 1.129 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.6182, allocations: 6.853 MB / 1.135 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/0.6204, allocations: 1.407 MB / 1.137 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001016/0.6214, allocations: 292.5 kB / 1.137 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/0.6223, allocations: 0.5032 MB / 1.137 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.044e-06/0.6223, allocations: 4 kB / 1.137 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/1.729, allocations: 12.61 MB / 1.15 GB, free: 156 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.85/19.58, allocations: 24.22 kB / 1.15 GB, free: 136 kB / 0.9044 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