Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006304/0.006304, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001424/0.001424, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.52 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002796/0.2984, allocations: 1.255 MB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006267/0.299, allocations: 227.8 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2992, allocations: 11.88 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2995, allocations: 99.41 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.2998, allocations: 63.75 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.2999, allocations: 75.94 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.3007, allocations: 0.765 MB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.3027, allocations: 1.915 MB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.3032, allocations: 466.6 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.3039, allocations: 0.6815 MB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.3041, allocations: 80 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3043, allocations: 72 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005759/0.3049, allocations: 0.6664 MB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009121/0.3058, allocations: 0.7455 MB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3073, allocations: 1.95 MB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3074, allocations: 0 / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3074, allocations: 0 / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.144e-05/0.3074, allocations: 0 / 1.062 GB, free: 15.12 MB / 0.8262 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.002863/0.3103, allocations: 1.862 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3104, allocations: 15.97 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.3107, allocations: 198.6 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.3123, allocations: 0.9493 MB / 1.065 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.3124, allocations: 152.5 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.3126, allocations: 196.4 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004343/0.317, allocations: 2.806 MB / 1.068 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.3171, allocations: 12.06 kB / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.3173, allocations: 99.94 kB / 1.068 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.3174, allocations: 59.94 kB / 1.068 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.3199, allocations: 1.639 MB / 1.069 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009549/0.3295, allocations: 10.46 MB / 1.08 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3297, allocations: 173.1 kB / 1.08 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.3297, allocations: 88.02 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3298, allocations: 75.28 kB / 1.08 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.3298, allocations: 109.8 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.986e-06/0.3299, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001629/0.33, allocations: 84.95 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.3301, allocations: 126.7 kB / 1.08 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3313, allocations: 0.9127 MB / 1.081 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3313, allocations: 25.7 kB / 1.081 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.3319, allocations: 0.8432 MB / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.3319, allocations: 11.98 kB / 1.082 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.3323, allocations: 279 kB / 1.082 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3325, allocations: 374.8 kB / 1.083 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3327, allocations: 133.2 kB / 1.083 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.3331, allocations: 0.5874 MB / 1.083 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.334, allocations: 0.7766 MB / 1.084 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.334, allocations: 4 kB / 1.084 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001082/0.3351, allocations: 0.7037 MB / 1.085 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3352, allocations: 13.56 kB / 1.085 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.3352, allocations: 16 kB / 1.085 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.3352, allocations: 20.81 kB / 1.085 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3355, allocations: 91.77 kB / 1.085 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.3355, allocations: 35.86 kB / 1.085 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3359, allocations: 87.06 kB / 1.085 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.3359, allocations: 44 kB / 1.085 GB, free: 5.801 MB / 0.8419 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.0009942/0.3369, allocations: 0.749 MB / 1.086 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.337, allocations: 156.3 kB / 1.086 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3372, allocations: 177.3 kB / 1.086 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/0.3373, allocations: 184.2 kB / 1.086 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.395e-05/0.3374, allocations: 176.3 kB / 1.086 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7e-05/0.3374, allocations: 184.2 kB / 1.087 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.3394, allocations: 1.605 MB / 1.088 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/0.3394, allocations: 105 kB / 1.088 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.3395, allocations: 120.8 kB / 1.088 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.457e-05/0.3396, allocations: 180.3 kB / 1.089 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.3397, allocations: 180.2 kB / 1.089 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.697e-05/0.3397, allocations: 176.3 kB / 1.089 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.937e-05/0.3398, allocations: 180.2 kB / 1.089 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.34, allocations: 363.1 kB / 1.089 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3402, allocations: 221.6 kB / 1.09 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.3403, allocations: 176.3 kB / 1.09 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3404, allocations: 112.9 kB / 1.09 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.3405, allocations: 184.3 kB / 1.09 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3405, allocations: 105 kB / 1.09 GB, free: 308 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000566/0.3411, allocations: 0.4952 MB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3411, allocations: 0 / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009059/0.342, allocations: 329.3 kB / 1.091 GB, free: 15.48 MB / 0.8575 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.0001475/0.3421, allocations: 174.5 kB / 1.091 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.3426, allocations: 291.9 kB / 1.091 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3426, allocations: 4.062 kB / 1.091 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.3426, allocations: 3.938 kB / 1.091 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.3432, allocations: 0.5683 MB / 1.092 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.3475, allocations: 3.088 MB / 1.095 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.3487, allocations: 1.4 MB / 1.096 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.3487, allocations: 43.38 kB / 1.096 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of SimCode: time 7.51e-07/0.3488, allocations: 0 / 1.096 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.01869/0.3674, allocations: 11.19 MB / 1.107 GB, free: 14.65 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches