Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008472/0.008472, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001591/0.001591, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.585/1.585, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 62.97 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3792, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.00267/0.3819, allocations: 1.209 MB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.3826, allocations: 243.8 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3827, allocations: 7.938 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.383, allocations: 119.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.3833, allocations: 67.78 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3834, allocations: 75.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.3841, allocations: 0.7376 MB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.386, allocations: 1.954 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.3864, allocations: 0.5572 MB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.387, allocations: 0.6893 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3872, allocations: 119.9 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3874, allocations: 120 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.388, allocations: 0.7172 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007202/0.3887, allocations: 0.8275 MB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.3906, allocations: 2.499 MB / 1.098 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3907, allocations: 4 kB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3907, allocations: 0 / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.652e-05/0.3907, allocations: 0 / 1.098 GB, free: 7.52 MB / 0.8575 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.002129/0.3928, allocations: 1.862 MB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3929, allocations: 8.031 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3932, allocations: 194.6 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3945, allocations: 0.9532 MB / 1.101 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3946, allocations: 156.5 kB / 1.101 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.3949, allocations: 196.4 kB / 1.101 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.3985, allocations: 2.802 MB / 1.104 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.3985, allocations: 16.06 kB / 1.104 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.3987, allocations: 95.94 kB / 1.104 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.3988, allocations: 56 kB / 1.104 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.4011, allocations: 1.642 MB / 1.105 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008655/0.4098, allocations: 10.46 MB / 1.116 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4099, allocations: 165.1 kB / 1.116 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.41, allocations: 84.08 kB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.41, allocations: 79.28 kB / 1.116 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.4101, allocations: 113.8 kB / 1.116 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.4101, allocations: 0 / 1.116 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001596/0.4103, allocations: 85.03 kB / 1.116 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.4103, allocations: 126.7 kB / 1.116 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/0.4113, allocations: 0.9088 MB / 1.117 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.4113, allocations: 25.7 kB / 1.117 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/0.4119, allocations: 0.847 MB / 1.118 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.4119, allocations: 11.98 kB / 1.118 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.4122, allocations: 279 kB / 1.118 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4124, allocations: 374.8 kB / 1.119 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4126, allocations: 133.2 kB / 1.119 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4131, allocations: 0.5834 MB / 1.119 GB, free: 244 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.4139, allocations: 0.7728 MB / 1.12 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.4139, allocations: 4 kB / 1.12 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009569/0.4148, allocations: 0.7044 MB / 1.121 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4149, allocations: 12 kB / 1.121 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.4149, allocations: 16 kB / 1.121 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/0.4149, allocations: 28.03 kB / 1.121 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4152, allocations: 91.7 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-05/0.4152, allocations: 31.88 kB / 1.121 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.4155, allocations: 83.06 kB / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.4156, allocations: 51.92 kB / 1.121 GB, free: 14.21 MB / 0.8887 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.000881/0.4164, allocations: 0.7529 MB / 1.122 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4166, allocations: 156.3 kB / 1.122 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.4167, allocations: 169.3 kB / 1.122 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-05/0.4168, allocations: 184.2 kB / 1.122 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-05/0.4169, allocations: 184.3 kB / 1.122 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.778e-05/0.417, allocations: 180.2 kB / 1.123 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.4187, allocations: 1.601 MB / 1.124 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.4187, allocations: 109 kB / 1.124 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.4188, allocations: 108.9 kB / 1.124 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.985e-05/0.4189, allocations: 180.2 kB / 1.125 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.419, allocations: 184.2 kB / 1.125 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.165e-05/0.419, allocations: 180.3 kB / 1.125 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.597e-05/0.4191, allocations: 176.3 kB / 1.125 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4193, allocations: 359 kB / 1.125 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.4195, allocations: 233.3 kB / 1.126 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.4196, allocations: 176.3 kB / 1.126 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.4197, allocations: 101 kB / 1.126 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4198, allocations: 192.2 kB / 1.126 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.4198, allocations: 109.3 kB / 1.126 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005043/0.4203, allocations: 0.4912 MB / 1.127 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4203, allocations: 0 / 1.127 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009168/0.4212, allocations: 325.3 kB / 1.127 GB, free: 7.902 MB / 0.8887 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.0001675/0.4214, allocations: 186.5 kB / 1.127 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.4218, allocations: 299.2 kB / 1.127 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4219, allocations: 0 / 1.127 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.4219, allocations: 0 / 1.127 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4224, allocations: 0.4908 MB / 1.128 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.4257, allocations: 2.308 MB / 1.13 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4268, allocations: 1.395 MB / 1.132 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.4273, allocations: 296.5 kB / 1.132 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.4273, allocations: 35.44 kB / 1.132 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of SimCode: time 7.82e-07/0.4273, allocations: 0 / 1.132 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of Templates: time 0.009281/0.4366, allocations: 2.626 MB / 1.134 GB, free: 216 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches