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.001648/0.001647, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.612/1.612, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.88/2.88, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 71.88 kB / 0.8693 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9148, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.003143/0.918, allocations: 1.21 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006124/0.9186, allocations: 243.8 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.9188, allocations: 15.88 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.9191, allocations: 107.3 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.9193, allocations: 63.73 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.9195, allocations: 79.91 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.9203, allocations: 0.7377 MB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.9227, allocations: 1.958 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006948/0.9234, allocations: 0.5455 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.9242, allocations: 0.6971 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.9244, allocations: 116 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.9247, allocations: 116 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000785/0.9255, allocations: 0.7249 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009354/0.9264, allocations: 0.8198 MB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.9291, allocations: 2.37 MB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.9291, allocations: 0 / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9292, allocations: 0 / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.396e-05/0.9292, allocations: 0 / 1.027 GB, free: 8.598 MB / 0.7794 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.002607/0.9318, allocations: 1.87 MB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.9319, allocations: 16.03 kB / 1.029 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.9322, allocations: 198.5 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.9337, allocations: 0.9455 MB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.9339, allocations: 152.5 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.9342, allocations: 200.4 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/0.9387, allocations: 2.802 MB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/0.9388, allocations: 12.12 kB / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.939, allocations: 95.94 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.9391, allocations: 56 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.9421, allocations: 1.639 MB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.954, allocations: 10.48 MB / 1.045 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.9543, allocations: 173.1 kB / 1.045 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.9544, allocations: 84.08 kB / 1.045 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.9544, allocations: 75.28 kB / 1.045 GB, free: 5.066 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.9546, allocations: 109.8 kB / 1.045 GB, free: 4.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 4.047e-06/0.9546, allocations: 0 / 1.045 GB, free: 4.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0002763/0.9548, allocations: 80.95 kB / 1.045 GB, free: 4.863 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.955, allocations: 126.7 kB / 1.046 GB, free: 4.727 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.9564, allocations: 0.9127 MB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.9564, allocations: 25.7 kB / 1.046 GB, free: 3.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009062/0.9574, allocations: 0.8472 MB / 1.047 GB, free: 2.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.9574, allocations: 11.98 kB / 1.047 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.9578, allocations: 275 kB / 1.048 GB, free: 2.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.958, allocations: 378.7 kB / 1.048 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.9582, allocations: 133.2 kB / 1.048 GB, free: 2.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.9589, allocations: 0.5913 MB / 1.049 GB, free: 1.293 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.9599, allocations: 0.7766 MB / 1.049 GB, free: 292 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.9599, allocations: 4 kB / 1.049 GB, free: 288 kB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001124/0.961, allocations: 0.6961 MB / 1.05 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.9611, allocations: 12 kB / 1.05 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.9611, allocations: 16 kB / 1.05 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.9611, allocations: 20.81 kB / 1.05 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.9614, allocations: 91.7 kB / 1.05 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/0.9614, allocations: 43.69 kB / 1.05 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.9617, allocations: 79.12 kB / 1.05 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.9618, allocations: 40 kB / 1.05 GB, free: 15.28 MB / 0.8106 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.001256/0.9631, allocations: 0.7574 MB / 1.051 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.9632, allocations: 164.2 kB / 1.051 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.9634, allocations: 169.3 kB / 1.051 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.757e-05/0.9635, allocations: 184.2 kB / 1.052 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.096e-05/0.9636, allocations: 176.3 kB / 1.052 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-05/0.9637, allocations: 184.2 kB / 1.052 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.9657, allocations: 1.601 MB / 1.053 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.3e-05/0.9657, allocations: 108.9 kB / 1.054 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.9658, allocations: 113 kB / 1.054 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.283e-05/0.9659, allocations: 176.3 kB / 1.054 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.966, allocations: 184.2 kB / 1.054 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.492e-05/0.9661, allocations: 180.3 kB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001023/0.9662, allocations: 184.2 kB / 1.054 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.9665, allocations: 359.1 kB / 1.055 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.9667, allocations: 221.4 kB / 1.055 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.9668, allocations: 184.2 kB / 1.055 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.967, allocations: 108.9 kB / 1.055 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.9671, allocations: 176.3 kB / 1.055 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.9671, allocations: 105 kB / 1.055 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006349/0.9678, allocations: 0.5029 MB / 1.056 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9678, allocations: 0 / 1.056 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001028/0.9688, allocations: 325.3 kB / 1.056 GB, free: 8.961 MB / 0.8106 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.0001953/0.969, allocations: 178.5 kB / 1.056 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.9695, allocations: 291.9 kB / 1.057 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9695, allocations: 4.062 kB / 1.057 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-06/0.9695, allocations: 3.938 kB / 1.057 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.9702, allocations: 0.4908 MB / 1.057 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.9742, allocations: 2.338 MB / 1.059 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.9759, allocations: 1.399 MB / 1.061 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008871/0.9769, allocations: 288.5 kB / 1.061 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.977, allocations: 39.44 kB / 1.061 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of SimCode: time 5.259e-06/0.977, allocations: 0 / 1.061 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of Templates: time 0.01217/0.9892, allocations: 2.561 MB / 1.064 GB, free: 1.316 MB / 0.8106 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=400 -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/jenkins/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