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.001707/0.001707, allocations: 104.2 kB / 16.27 MB, free: 5.98 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.001634/0.001634, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.491/1.491, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.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.755/2.755, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 69.02 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2918, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002672/0.2945, allocations: 1.211 MB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000532/0.295, allocations: 235.8 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.2951, allocations: 7.938 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.2954, allocations: 115.3 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.2956, allocations: 67.78 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.2957, allocations: 79.91 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.2965, allocations: 0.7299 MB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.2986, allocations: 1.954 MB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.2991, allocations: 0.5494 MB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.2999, allocations: 0.7048 MB / 1.024 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.3001, allocations: 116 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.3003, allocations: 116 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.301, allocations: 0.7211 MB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.3017, allocations: 0.8198 MB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.3037, allocations: 2.372 MB / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3038, allocations: 0 / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3038, allocations: 0 / 1.028 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.3038, allocations: 0 / 1.028 GB, free: 0.7578 MB / 0.795 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.002147/0.3059, allocations: 1.877 MB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.306, allocations: 12.92 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.3063, allocations: 194.6 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.3077, allocations: 0.9456 MB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3079, allocations: 148.5 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.3081, allocations: 204.3 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.312, allocations: 2.81 MB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.3121, allocations: 12.06 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.3123, allocations: 95.94 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.3123, allocations: 56 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.3149, allocations: 1.643 MB / 1.035 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0094/0.3243, allocations: 10.46 MB / 1.046 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.3244, allocations: 177.1 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.3245, allocations: 88.08 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.3245, allocations: 75.28 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.3246, allocations: 109.8 kB / 1.046 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.3246, allocations: 0 / 1.046 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.000142/0.3247, allocations: 84.89 kB / 1.046 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.3248, allocations: 126.7 kB / 1.046 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3258, allocations: 0.9127 MB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3259, allocations: 25.7 kB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.3265, allocations: 0.8431 MB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3265, allocations: 19.98 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3268, allocations: 267 kB / 1.048 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.327, allocations: 378.8 kB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.3272, allocations: 133.2 kB / 1.049 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.3277, allocations: 0.5912 MB / 1.049 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.3286, allocations: 0.7728 MB / 1.05 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3286, allocations: 4 kB / 1.05 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001022/0.3296, allocations: 0.6958 MB / 1.051 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3296, allocations: 15.94 kB / 1.051 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.3297, allocations: 20.88 kB / 1.051 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.3297, allocations: 20 kB / 1.051 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.3299, allocations: 103.6 kB / 1.051 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/0.33, allocations: 27.92 kB / 1.051 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.3303, allocations: 87.06 kB / 1.051 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.3303, allocations: 40 kB / 1.051 GB, free: 7.43 MB / 0.8262 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.0009916/0.3313, allocations: 0.7496 MB / 1.052 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3315, allocations: 156.3 kB / 1.052 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3316, allocations: 173.2 kB / 1.052 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.574e-05/0.3317, allocations: 188.3 kB / 1.052 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.69e-05/0.3318, allocations: 180.2 kB / 1.052 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.616e-05/0.3318, allocations: 176.3 kB / 1.053 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3336, allocations: 1.605 MB / 1.054 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-05/0.3336, allocations: 104.9 kB / 1.054 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.3337, allocations: 109 kB / 1.054 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.969e-05/0.3338, allocations: 180.2 kB / 1.055 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.3339, allocations: 180.3 kB / 1.055 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.991e-05/0.3339, allocations: 188.2 kB / 1.055 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.076e-05/0.334, allocations: 176.3 kB / 1.055 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3342, allocations: 363 kB / 1.055 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3344, allocations: 221.4 kB / 1.056 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3345, allocations: 184.2 kB / 1.056 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3346, allocations: 105 kB / 1.056 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.3347, allocations: 180.3 kB / 1.056 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.3347, allocations: 108.9 kB / 1.056 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005534/0.3353, allocations: 0.4951 MB / 1.057 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3353, allocations: 0 / 1.057 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008547/0.3362, allocations: 333.3 kB / 1.057 GB, free: 1.117 MB / 0.8262 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.0001665/0.3363, allocations: 173 kB / 1.057 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3368, allocations: 296.1 kB / 1.057 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3368, allocations: 0 / 1.057 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.3368, allocations: 0 / 1.057 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.3373, allocations: 0.4962 MB / 1.058 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.3408, allocations: 2.461 MB / 1.06 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.3419, allocations: 1.391 MB / 1.062 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.342, allocations: 43.38 kB / 1.062 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.154e-06/0.342, allocations: 0 / 1.062 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.01755/0.3596, allocations: 11.2 MB / 1.073 GB, free: 0.9883 MB / 0.8419 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/jenkins1/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