Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001684/0.001684, allocations: 112.2 kB / 16.41 MB, free: 6.008 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.001945/0.001946, allocations: 185 kB / 17.34 MB, free: 5.629 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.788, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002467/0.7905, allocations: 1.209 MB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.7912, allocations: 239.8 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.7914, allocations: 15.88 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.7917, allocations: 119.3 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.7919, allocations: 63.73 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.7921, allocations: 79.91 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.7929, allocations: 0.7338 MB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.7951, allocations: 1.954 MB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.7957, allocations: 0.5533 MB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.7965, allocations: 0.6815 MB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.7967, allocations: 116 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.7969, allocations: 116 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006508/0.7976, allocations: 0.7249 MB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.7985, allocations: 0.8198 MB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.8005, allocations: 2.505 MB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8006, allocations: 3.984 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8006, allocations: 0 / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.003e-05/0.8007, allocations: 0 / 1.177 GB, free: 9.855 MB / 0.9044 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.002898/0.8036, allocations: 1.866 MB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8036, allocations: 8.922 kB / 1.179 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/0.804, allocations: 194.6 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.8061, allocations: 0.9493 MB / 1.18 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.8062, allocations: 152.5 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.8065, allocations: 200.4 kB / 1.18 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/0.8109, allocations: 2.81 MB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.8109, allocations: 12.06 kB / 1.183 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.8111, allocations: 91.94 kB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.8112, allocations: 56 kB / 1.183 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.8137, allocations: 1.642 MB / 1.185 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009576/0.8233, allocations: 10.48 MB / 1.195 GB, free: 6.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.8234, allocations: 169.1 kB / 1.195 GB, free: 6.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.8235, allocations: 84.08 kB / 1.195 GB, free: 6.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.8235, allocations: 79.28 kB / 1.195 GB, free: 6.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.8236, allocations: 105.8 kB / 1.195 GB, free: 6.211 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/0.8236, allocations: 4 kB / 1.195 GB, free: 6.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001336/0.8237, allocations: 76.98 kB / 1.195 GB, free: 6.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.8238, allocations: 134.7 kB / 1.196 GB, free: 5.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.8249, allocations: 0.9203 MB / 1.197 GB, free: 5.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.8249, allocations: 25.7 kB / 1.197 GB, free: 5.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.8256, allocations: 0.8433 MB / 1.197 GB, free: 4.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.8256, allocations: 12 kB / 1.197 GB, free: 4.148 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.826, allocations: 275 kB / 1.198 GB, free: 3.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8262, allocations: 370.8 kB / 1.198 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.8264, allocations: 137.2 kB / 1.198 GB, free: 3.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.827, allocations: 0.5873 MB / 1.199 GB, free: 2.555 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009019/0.8279, allocations: 0.7767 MB / 1.199 GB, free: 1.547 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.8279, allocations: 4 kB / 1.199 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001166/0.8291, allocations: 0.7004 MB / 1.2 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.8292, allocations: 12 kB / 1.2 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.8292, allocations: 16 kB / 1.2 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.249e-05/0.8292, allocations: 24 kB / 1.2 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.8295, allocations: 83.72 kB / 1.2 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.8295, allocations: 39.84 kB / 1.2 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.8299, allocations: 83.12 kB / 1.2 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.8299, allocations: 40 kB / 1.2 GB, free: 0.543 MB / 0.92 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.001027/0.831, allocations: 0.761 MB / 1.201 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.8311, allocations: 160.2 kB / 1.201 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.8312, allocations: 165.3 kB / 1.201 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.458e-05/0.8313, allocations: 176.3 kB / 1.202 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/0.8314, allocations: 188.2 kB / 1.202 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-05/0.8315, allocations: 184.2 kB / 1.202 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.8332, allocations: 1.608 MB / 1.204 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.8333, allocations: 105 kB / 1.204 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.8333, allocations: 104.9 kB / 1.204 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.8334, allocations: 176.3 kB / 1.204 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.8335, allocations: 176.3 kB / 1.204 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.8335, allocations: 192.2 kB / 1.204 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.617e-05/0.8336, allocations: 180.3 kB / 1.204 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.8338, allocations: 351 kB / 1.205 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.834, allocations: 225.3 kB / 1.205 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.834, allocations: 196.1 kB / 1.205 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8342, allocations: 101 kB / 1.205 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.8342, allocations: 180.2 kB / 1.205 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.8343, allocations: 112.9 kB / 1.206 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005078/0.8348, allocations: 0.4951 MB / 1.206 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8348, allocations: 0 / 1.206 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008854/0.8357, allocations: 329.3 kB / 1.206 GB, free: 10.22 MB / 0.9356 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.0001351/0.8358, allocations: 182.5 kB / 1.207 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.8363, allocations: 291.7 kB / 1.207 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8363, allocations: 0 / 1.207 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.8363, allocations: 0 / 1.207 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.8368, allocations: 0.4923 MB / 1.207 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.8404, allocations: 2.43 MB / 1.21 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.8416, allocations: 1.391 MB / 1.211 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.8416, allocations: 43.44 kB / 1.211 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of SimCode: time 8.12e-07/0.8416, allocations: 0 / 1.211 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of Templates: time 0.01743/0.8591, allocations: 11.26 MB / 1.222 GB, free: 10.05 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches