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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zonStaDup.yTZon.1|1.|zonStaDup.yTZon.1|2.|zonStaDup.yTZon.2|3.|zonStaDup.yTZon.2|4.|zonStaDup.yTZon.2|5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00163/0.00163, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.778/1.778, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5959, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001231/0.5971, allocations: 0.8463 MB / 0.9544 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004534/0.5976, allocations: 237.3 kB / 0.9546 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.5977, allocations: 8.156 kB / 0.9546 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.5979, allocations: 103.3 kB / 0.9547 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.5981, allocations: 68.59 kB / 0.9547 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.5982, allocations: 63.28 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.5986, allocations: 382.8 kB / 0.9552 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5999, allocations: 1.471 MB / 0.9566 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.6001, allocations: 166.1 kB / 0.9568 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.6002, allocations: 195.7 kB / 0.957 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.6003, allocations: 16.38 kB / 0.957 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.746e-05/0.6003, allocations: 16.31 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.6007, allocations: 0.5307 MB / 0.9575 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.6009, allocations: 262 kB / 0.9578 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.6024, allocations: 1.925 MB / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6024, allocations: 1.062 kB / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6024, allocations: 0 / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.6025, allocations: 0 / 0.9596 GB, free: 4.293 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.001725/0.6042, allocations: 1.477 MB / 0.9611 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6043, allocations: 9.094 kB / 0.9611 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.6046, allocations: 205.7 kB / 0.9613 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.6063, allocations: 0.9314 MB / 0.9622 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.6064, allocations: 157.5 kB / 0.9623 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.6066, allocations: 199.8 kB / 0.9625 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.6103, allocations: 2.769 MB / 0.9652 GB, free: 396 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.6104, allocations: 12.06 kB / 0.9653 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.6106, allocations: 92.06 kB / 0.9653 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/0.6106, allocations: 60.56 kB / 0.9654 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.6133, allocations: 1.622 MB / 0.967 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009223/0.6226, allocations: 10.47 MB / 0.9772 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.6227, allocations: 166.7 kB / 0.9774 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.6227, allocations: 75.28 kB / 0.9774 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.6228, allocations: 107.2 kB / 0.9775 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.6228, allocations: 4 kB / 0.9775 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001465/0.6229, allocations: 81.36 kB / 0.9776 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.623, allocations: 126.7 kB / 0.9777 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.6239, allocations: 0.9072 MB / 0.9786 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.624, allocations: 25.7 kB / 0.9786 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.6244, allocations: 0.8472 MB / 0.9795 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.6245, allocations: 11.98 kB / 0.9795 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.6245, allocations: 12 kB / 0.9795 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6246, allocations: 382.7 kB / 0.9799 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.6248, allocations: 133.2 kB / 0.98 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.6252, allocations: 0.5795 MB / 0.9806 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.6255, allocations: 275.7 kB / 0.9808 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.6255, allocations: 8 kB / 0.9808 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008815/0.6264, allocations: 0.6925 MB / 0.9815 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6264, allocations: 17.34 kB / 0.9815 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.6265, allocations: 23.92 kB / 0.9815 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.6265, allocations: 24 kB / 0.9816 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.6267, allocations: 83.72 kB / 0.9816 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.6267, allocations: 35.86 kB / 0.9817 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.627, allocations: 79.12 kB / 0.9818 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.6271, allocations: 44.33 kB / 0.9818 GB, free: 2.105 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008373/0.6279, allocations: 0.7645 MB / 0.9825 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.71e-05/0.628, allocations: 164.4 kB / 0.9827 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/0.6281, allocations: 173.1 kB / 0.9829 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.808e-05/0.6282, allocations: 180.2 kB / 0.983 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.607e-05/0.6282, allocations: 180.3 kB / 0.9832 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/0.6283, allocations: 184.2 kB / 0.9834 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.6298, allocations: 1.601 MB / 0.9849 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.819e-05/0.6298, allocations: 109 kB / 0.9851 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.6299, allocations: 104.9 kB / 0.9852 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.532e-05/0.6299, allocations: 176.3 kB / 0.9853 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.63, allocations: 188.2 kB / 0.9855 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/0.63, allocations: 180.3 kB / 0.9857 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.542e-05/0.6301, allocations: 180.2 kB / 0.9858 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.6302, allocations: 355.1 kB / 0.9862 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.6303, allocations: 229.3 kB / 0.9864 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.6304, allocations: 184.2 kB / 0.9866 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.6305, allocations: 101 kB / 0.9867 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.6306, allocations: 188.2 kB / 0.9869 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.6306, allocations: 105 kB / 0.987 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004541/0.6311, allocations: 0.4912 MB / 0.9874 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6311, allocations: 0 / 0.9874 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007846/0.6319, allocations: 333.3 kB / 0.9878 GB, free: 11.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.632, allocations: 170.5 kB / 0.9879 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.6324, allocations: 291.3 kB / 0.9882 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6324, allocations: 4 kB / 0.9882 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.6324, allocations: 0 / 0.9882 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.6328, allocations: 0.5783 MB / 0.9888 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.636, allocations: 2.815 MB / 0.9915 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6373, allocations: 1.419 MB / 0.9929 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005395/0.6378, allocations: 296.5 kB / 0.9932 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.6379, allocations: 35.44 kB / 0.9932 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/0.6379, allocations: 0 / 0.9932 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of Templates: time 0.009029/0.6469, allocations: 2.495 MB / 0.9956 GB, free: 3.629 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches