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.001652/0.001652, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001771/0.001772, allocations: 191 kB / 17.29 MB, free: 5.516 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.298/2.298, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.72 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3336, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002909/0.3366, allocations: 1.196 MB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.3371, allocations: 243.8 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3372, allocations: 15.88 kB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.3375, allocations: 107.3 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3377, allocations: 71.72 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.3379, allocations: 75.92 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000724/0.3386, allocations: 0.7338 MB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.3405, allocations: 1.961 MB / 0.9554 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.341, allocations: 0.5494 MB / 0.956 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.3416, allocations: 0.6893 MB / 0.9566 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.3418, allocations: 116 kB / 0.9568 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.342, allocations: 120 kB / 0.9569 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006794/0.3426, allocations: 0.7288 MB / 0.9576 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007046/0.3434, allocations: 0.8198 MB / 0.9584 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.3456, allocations: 2.499 MB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3457, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3457, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.252e-05/0.3457, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 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.002225/0.348, allocations: 1.87 MB / 0.9626 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.348, allocations: 8.031 kB / 0.9627 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.3483, allocations: 198.5 kB / 0.9628 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3501, allocations: 0.9417 MB / 0.9638 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3502, allocations: 164.4 kB / 0.9639 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.3505, allocations: 196.4 kB / 0.9641 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/0.3541, allocations: 2.802 MB / 0.9668 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.3541, allocations: 12.06 kB / 0.9669 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.3543, allocations: 91.94 kB / 0.9669 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.3544, allocations: 56 kB / 0.967 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.3569, allocations: 1.639 MB / 0.9686 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/0.3663, allocations: 10.47 MB / 0.9788 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3665, allocations: 173.1 kB / 0.979 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3665, allocations: 84.08 kB / 0.9791 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3666, allocations: 75.28 kB / 0.9791 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.3667, allocations: 109.8 kB / 0.9792 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.3667, allocations: 0 / 0.9792 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001421/0.3668, allocations: 88.89 kB / 0.9793 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.3669, allocations: 130.7 kB / 0.9794 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.368, allocations: 0.9127 MB / 0.9803 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.368, allocations: 29.64 kB / 0.9804 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.3686, allocations: 0.8392 MB / 0.9812 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.3686, allocations: 11.98 kB / 0.9812 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.3689, allocations: 279 kB / 0.9815 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.3692, allocations: 374.8 kB / 0.9818 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3694, allocations: 133.2 kB / 0.9819 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.37, allocations: 0.5834 MB / 0.9825 GB, free: 6.777 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.3709, allocations: 0.7806 MB / 0.9833 GB, free: 5.766 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3709, allocations: 8 kB / 0.9833 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001/0.3719, allocations: 0.7002 MB / 0.984 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3719, allocations: 15.94 kB / 0.984 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3719, allocations: 16 kB / 0.984 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.372, allocations: 24 kB / 0.984 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3722, allocations: 83.72 kB / 0.9841 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.73e-05/0.3722, allocations: 31.92 kB / 0.9841 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3725, allocations: 83.56 kB / 0.9842 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.3726, allocations: 44 kB / 0.9843 GB, free: 4.758 MB / 0.7637 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.00104/0.3736, allocations: 0.7587 MB / 0.985 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3737, allocations: 164.2 kB / 0.9852 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3739, allocations: 169.2 kB / 0.9853 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-05/0.374, allocations: 176.3 kB / 0.9855 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001447/0.3741, allocations: 188.2 kB / 0.9857 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001567/0.3743, allocations: 180.2 kB / 0.9858 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.376, allocations: 1.604 MB / 0.9874 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.3761, allocations: 105 kB / 0.9875 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3762, allocations: 101 kB / 0.9876 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.3762, allocations: 184.2 kB / 0.9878 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.3763, allocations: 180.3 kB / 0.9879 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-05/0.3764, allocations: 188.2 kB / 0.9881 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.192e-05/0.3765, allocations: 180.2 kB / 0.9883 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3767, allocations: 359 kB / 0.9886 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.3769, allocations: 225.4 kB / 0.9889 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.3771, allocations: 188.2 kB / 0.989 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3772, allocations: 101 kB / 0.9891 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.3773, allocations: 176.3 kB / 0.9893 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.3775, allocations: 113.2 kB / 0.9894 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007162/0.3782, allocations: 0.4989 MB / 0.9899 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3782, allocations: 4 kB / 0.9899 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000981/0.3792, allocations: 325.3 kB / 0.9902 GB, free: 14.43 MB / 0.7794 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.0002021/0.3794, allocations: 174.5 kB / 0.9904 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.3798, allocations: 294.9 kB / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3798, allocations: 1 kB / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.3799, allocations: 0 / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.3804, allocations: 0.4947 MB / 0.9911 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3839, allocations: 2.315 MB / 0.9934 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.3851, allocations: 1.403 MB / 0.9948 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.3856, allocations: 296.4 kB / 0.9951 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.3856, allocations: 35.44 kB / 0.9951 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/0.3856, allocations: 4 kB / 0.9951 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of Templates: time 0.009329/0.395, allocations: 2.552 MB / 0.9976 GB, free: 6.809 MB / 0.7794 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 -s cvode -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","/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