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.0009444/0.0009443, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001015/0.001015, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.94/2.94, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 10.34 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3421, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001358/0.3435, allocations: 0.8502 MB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.344, allocations: 231.7 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3441, allocations: 7.938 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3443, allocations: 83.42 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3445, allocations: 67.73 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.3446, allocations: 59.92 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008346/0.3454, allocations: 0.8079 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.347, allocations: 1.477 MB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.3472, allocations: 171.2 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3474, allocations: 198.8 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3474, allocations: 12 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.3475, allocations: 12 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.3479, allocations: 0.5299 MB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3481, allocations: 264.8 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3496, allocations: 1.926 MB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3496, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3497, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.714e-05/0.3497, allocations: 0 / 1.065 GB, free: 14.65 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.00167/0.3514, allocations: 1.483 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3514, allocations: 8.031 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.3517, allocations: 197.6 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3529, allocations: 0.9291 MB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.353, allocations: 156.1 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.3533, allocations: 204 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/0.3569, allocations: 2.79 MB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.357, allocations: 7.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.3571, allocations: 92 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.3572, allocations: 56 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.3595, allocations: 1.623 MB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008604/0.3682, allocations: 10.46 MB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.3683, allocations: 173.1 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.3683, allocations: 88.08 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.3684, allocations: 75.28 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.3684, allocations: 109.8 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 4.038e-06/0.3684, allocations: 0 / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001352/0.3686, allocations: 84.98 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.3686, allocations: 130.7 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.3696, allocations: 0.9087 MB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3696, allocations: 29.64 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.3701, allocations: 0.8471 MB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.3701, allocations: 11.98 kB / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.3702, allocations: 16 kB / 1.085 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3703, allocations: 366.8 kB / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3705, allocations: 137.2 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.371, allocations: 0.5834 MB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3713, allocations: 275.7 kB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3713, allocations: 4 kB / 1.086 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009162/0.3722, allocations: 0.7006 MB / 1.087 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3723, allocations: 12 kB / 1.087 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.3723, allocations: 16 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.3723, allocations: 24 kB / 1.087 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3725, allocations: 91.7 kB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/0.3726, allocations: 35.84 kB / 1.087 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3729, allocations: 83.12 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3729, allocations: 40 kB / 1.087 GB, free: 6.789 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00086/0.3738, allocations: 0.7608 MB / 1.088 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3739, allocations: 156.2 kB / 1.088 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.3741, allocations: 173.3 kB / 1.088 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.996e-05/0.3742, allocations: 180.2 kB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.057e-05/0.3742, allocations: 176.3 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/0.3743, allocations: 176.3 kB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3759, allocations: 1.608 MB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.202e-05/0.376, allocations: 101 kB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.376, allocations: 108.9 kB / 1.09 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.479e-05/0.3761, allocations: 184.3 kB / 1.09 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.3762, allocations: 180.2 kB / 1.09 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-05/0.3762, allocations: 184.2 kB / 1.091 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/0.3763, allocations: 176.3 kB / 1.091 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3765, allocations: 367 kB / 1.091 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3766, allocations: 217.4 kB / 1.091 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3767, allocations: 180.2 kB / 1.092 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.3768, allocations: 116.9 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3769, allocations: 188.2 kB / 1.092 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.3769, allocations: 105 kB / 1.092 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005965/0.3775, allocations: 0.4912 MB / 1.092 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3775, allocations: 0 / 1.092 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008818/0.3784, allocations: 325.3 kB / 1.093 GB, free: 492 kB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.3786, allocations: 178.5 kB / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.379, allocations: 290.2 kB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.379, allocations: 0 / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.379, allocations: 1.625 kB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3795, allocations: 0.5682 MB / 1.094 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3831, allocations: 2.823 MB / 1.097 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.3842, allocations: 1.392 MB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004793/0.3847, allocations: 292.5 kB / 1.098 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.3848, allocations: 35.44 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.3848, allocations: 0 / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.008851/0.3936, allocations: 2.505 MB / 1.101 GB, free: 8.34 MB / 0.8575 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/jenkins/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