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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002536/0.002536, allocations: 108 kB / 15.6 MB, free: 132 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.002838/0.002838, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.523/1.523, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.58 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4952, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002963/0.4982, allocations: 1.2 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.4988, allocations: 239.8 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.499, allocations: 11.94 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.4992, allocations: 115.3 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.4995, allocations: 63.72 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.4996, allocations: 83.91 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.5004, allocations: 0.7338 MB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.5025, allocations: 1.954 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.503, allocations: 0.5417 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.5037, allocations: 0.697 MB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.5039, allocations: 116 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.5041, allocations: 116 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.5047, allocations: 0.7211 MB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008209/0.5056, allocations: 0.8198 MB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.5075, allocations: 2.384 MB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5076, allocations: 0 / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5076, allocations: 0 / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.5076, allocations: 0 / 1.078 GB, free: 0.5078 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.002096/0.5097, allocations: 1.866 MB / 1.08 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5098, allocations: 12.03 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.51, allocations: 198.5 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5114, allocations: 0.9493 MB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5115, allocations: 156.5 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.5117, allocations: 196.4 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.5153, allocations: 2.802 MB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.5154, allocations: 16.06 kB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.5155, allocations: 95.94 kB / 1.084 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.5156, allocations: 59.98 kB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.5178, allocations: 1.643 MB / 1.086 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008464/0.5263, allocations: 10.46 MB / 1.096 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5264, allocations: 177.2 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.5265, allocations: 84.08 kB / 1.096 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5265, allocations: 75.28 kB / 1.096 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.5266, allocations: 109.8 kB / 1.096 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/0.5266, allocations: 0 / 1.096 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001361/0.5267, allocations: 84.98 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.5268, allocations: 126.7 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.5277, allocations: 0.9165 MB / 1.097 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5277, allocations: 25.7 kB / 1.097 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.5282, allocations: 0.8432 MB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.5282, allocations: 11.98 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.5285, allocations: 275 kB / 1.098 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5287, allocations: 378.8 kB / 1.099 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5288, allocations: 133.2 kB / 1.099 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.5293, allocations: 0.5834 MB / 1.099 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.53, allocations: 0.7767 MB / 1.1 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.53, allocations: 4 kB / 1.1 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000914/0.531, allocations: 0.7001 MB / 1.101 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.531, allocations: 12 kB / 1.101 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.531, allocations: 16 kB / 1.101 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.5311, allocations: 20 kB / 1.101 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.5313, allocations: 91.7 kB / 1.101 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-05/0.5313, allocations: 35.86 kB / 1.101 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.5316, allocations: 87.53 kB / 1.101 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.5316, allocations: 44 kB / 1.101 GB, free: 7.199 MB / 0.8575 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.0009535/0.5326, allocations: 0.7491 MB / 1.102 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.5327, allocations: 164.2 kB / 1.102 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.5329, allocations: 173.1 kB / 1.102 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/0.5329, allocations: 176.3 kB / 1.102 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.553e-05/0.533, allocations: 184.2 kB / 1.103 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-05/0.5331, allocations: 184.3 kB / 1.103 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5347, allocations: 1.604 MB / 1.104 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.5348, allocations: 108.9 kB / 1.104 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.5349, allocations: 105 kB / 1.105 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.937e-05/0.5349, allocations: 180.2 kB / 1.105 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/0.535, allocations: 184.3 kB / 1.105 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.63e-05/0.5351, allocations: 180.2 kB / 1.105 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.867e-05/0.5352, allocations: 180.3 kB / 1.105 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.5354, allocations: 359 kB / 1.106 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.5356, allocations: 225.3 kB / 1.106 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5357, allocations: 188.2 kB / 1.106 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5358, allocations: 109 kB / 1.106 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.5359, allocations: 180.2 kB / 1.106 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.5359, allocations: 101 kB / 1.106 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005294/0.5364, allocations: 0.499 MB / 1.107 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5365, allocations: 4 kB / 1.107 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009588/0.5374, allocations: 329.3 kB / 1.107 GB, free: 0.8711 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.0001806/0.5376, allocations: 172.8 kB / 1.107 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.538, allocations: 291.3 kB / 1.108 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.538, allocations: 0.9375 kB / 1.108 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.538, allocations: 4 kB / 1.108 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.5386, allocations: 0.4914 MB / 1.108 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.5418, allocations: 2.354 MB / 1.11 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.5429, allocations: 1.395 MB / 1.112 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004984/0.5434, allocations: 296.5 kB / 1.112 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.5435, allocations: 35.44 kB / 1.112 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of SimCode: time 9.62e-07/0.5435, allocations: 0 / 1.112 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.008778/0.5523, allocations: 2.559 MB / 1.115 GB, free: 9.227 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/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