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.009456/0.009456, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.002201/0.002201, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.385/2.385, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002274, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.8004, allocations: 140.3 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002699/0.8031, allocations: 1.251 MB / 0.9508 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005109/0.8037, allocations: 235.6 kB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.8038, allocations: 12.06 kB / 0.951 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.804, allocations: 98.42 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.8043, allocations: 62.98 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.8044, allocations: 72.44 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.8052, allocations: 0.7672 MB / 0.952 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.8073, allocations: 1.911 MB / 0.9539 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.8078, allocations: 465.1 kB / 0.9543 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.8085, allocations: 0.68 MB / 0.955 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.8086, allocations: 76.25 kB / 0.9551 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.8088, allocations: 74.56 kB / 0.9551 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.8094, allocations: 0.6745 MB / 0.9558 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007399/0.8102, allocations: 0.7365 MB / 0.9565 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.8118, allocations: 1.949 MB / 0.9584 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8119, allocations: 5.094 kB / 0.9584 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8119, allocations: 0 / 0.9584 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.457e-05/0.8119, allocations: 0 / 0.9584 GB, free: 3.605 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.002692/0.8146, allocations: 1.868 MB / 0.9602 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.8147, allocations: 10.12 kB / 0.9603 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.8151, allocations: 197.3 kB / 0.9604 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.8165, allocations: 0.9438 MB / 0.9614 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.8167, allocations: 150.8 kB / 0.9615 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.817, allocations: 200.8 kB / 0.9617 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.8216, allocations: 2.808 MB / 0.9644 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.8216, allocations: 8.906 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.8219, allocations: 91.78 kB / 0.9645 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/0.8219, allocations: 56.19 kB / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.825, allocations: 1.647 MB / 0.9662 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.8362, allocations: 10.47 MB / 0.9764 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.8364, allocations: 174.4 kB / 0.9766 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.8364, allocations: 88.08 kB / 0.9767 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.8365, allocations: 75.28 kB / 0.9767 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.8365, allocations: 107.1 kB / 0.9769 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/0.8365, allocations: 0 / 0.9769 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001873/0.8367, allocations: 76.98 kB / 0.9769 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.8368, allocations: 130.7 kB / 0.977 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.838, allocations: 0.9258 MB / 0.978 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.838, allocations: 29.64 kB / 0.978 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/0.8386, allocations: 0.8432 MB / 0.9788 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.8386, allocations: 15.98 kB / 0.9788 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.8389, allocations: 275 kB / 0.9791 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8392, allocations: 370.8 kB / 0.9794 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.8393, allocations: 133.2 kB / 0.9796 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.8399, allocations: 0.5912 MB / 0.9801 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.8407, allocations: 0.7689 MB / 0.9809 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.8407, allocations: 8 kB / 0.9809 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001009/0.8417, allocations: 0.7044 MB / 0.9816 GB, free: 0 / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.8417, allocations: 12.05 kB / 0.9816 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.8418, allocations: 16 kB / 0.9816 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.8418, allocations: 20 kB / 0.9816 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.842, allocations: 83.73 kB / 0.9817 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.011e-05/0.8421, allocations: 31.86 kB / 0.9817 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.8424, allocations: 87.12 kB / 0.9818 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.8425, allocations: 40 kB / 0.9819 GB, free: 15.71 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.001207/0.8437, allocations: 0.7569 MB / 0.9826 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.8438, allocations: 164.2 kB / 0.9828 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.844, allocations: 173 kB / 0.9829 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-05/0.8441, allocations: 180.3 kB / 0.9831 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.048e-05/0.8442, allocations: 180.3 kB / 0.9833 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.792e-05/0.8443, allocations: 188.2 kB / 0.9834 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.8465, allocations: 1.605 MB / 0.985 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.854e-05/0.8465, allocations: 104.9 kB / 0.9851 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.8466, allocations: 101 kB / 0.9852 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/0.8467, allocations: 184.3 kB / 0.9854 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.8468, allocations: 180.2 kB / 0.9856 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-05/0.8468, allocations: 180.3 kB / 0.9857 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.375e-05/0.8469, allocations: 188.2 kB / 0.9859 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.8471, allocations: 355 kB / 0.9862 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.8473, allocations: 225.7 kB / 0.9865 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.8474, allocations: 184.2 kB / 0.9866 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.8475, allocations: 112.9 kB / 0.9867 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.8476, allocations: 180.3 kB / 0.9869 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.8477, allocations: 104.9 kB / 0.987 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006131/0.8483, allocations: 0.4989 MB / 0.9875 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8483, allocations: 0 / 0.9875 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001056/0.8493, allocations: 333.3 kB / 0.9878 GB, free: 9.379 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.0001577/0.8495, allocations: 174.5 kB / 0.988 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.85, allocations: 289.9 kB / 0.9883 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.85, allocations: 5.938 kB / 0.9883 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.85, allocations: 0 / 0.9883 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.8506, allocations: 0.5736 MB / 0.9888 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.8558, allocations: 3.084 MB / 0.9918 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.8572, allocations: 1.392 MB / 0.9932 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.8573, allocations: 39.44 kB / 0.9932 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/0.8573, allocations: 0 / 0.9932 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of Templates: time 0.01895/0.8763, allocations: 11.18 MB / 1.004 GB, free: 8.559 MB / 0.7637 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","/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