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.001403/0.001407, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001745/0.001745, allocations: 192.5 kB / 16.25 MB, free: 6.641 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.72/2.72, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8886, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.00289/0.8915, allocations: 1.245 MB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006021/0.8922, allocations: 223.8 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.8923, allocations: 11.88 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.8926, allocations: 103.4 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.8928, allocations: 79.72 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.893, allocations: 71.94 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.8938, allocations: 0.7924 MB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.8957, allocations: 1.961 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005685/0.8962, allocations: 0.5456 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007066/0.897, allocations: 0.7205 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.8971, allocations: 116 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.8973, allocations: 116 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.8979, allocations: 0.7171 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/0.8987, allocations: 0.8236 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.9004, allocations: 2.37 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9004, allocations: 0 / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9005, allocations: 4 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.9005, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.7794 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.002093/0.9026, allocations: 1.873 MB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.9027, allocations: 11.97 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.903, allocations: 198.5 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.9043, allocations: 0.9494 MB / 1.029 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.9045, allocations: 148.5 kB / 1.03 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.9047, allocations: 200.4 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.9086, allocations: 2.802 MB / 1.032 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.9087, allocations: 12.06 kB / 1.033 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.9089, allocations: 91.94 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.9089, allocations: 56 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.9113, allocations: 1.635 MB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/0.92, allocations: 10.48 MB / 1.044 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.9202, allocations: 169.1 kB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.9203, allocations: 92.08 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.9203, allocations: 75.28 kB / 1.045 GB, free: 5.441 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.9204, allocations: 113.8 kB / 1.045 GB, free: 5.32 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 3.266e-06/0.9204, allocations: 0 / 1.045 GB, free: 5.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001559/0.9206, allocations: 80.95 kB / 1.045 GB, free: 5.234 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.9206, allocations: 126.7 kB / 1.045 GB, free: 5.098 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.9217, allocations: 0.9088 MB / 1.046 GB, free: 4.18 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.9217, allocations: 25.7 kB / 1.046 GB, free: 4.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005566/0.9223, allocations: 0.851 MB / 1.047 GB, free: 3.281 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.9223, allocations: 15.98 kB / 1.047 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.9225, allocations: 267 kB / 1.047 GB, free: 2.996 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9227, allocations: 378.8 kB / 1.047 GB, free: 2.617 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.9229, allocations: 137.2 kB / 1.048 GB, free: 2.484 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.9234, allocations: 0.5912 MB / 1.048 GB, free: 1.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.9241, allocations: 0.7689 MB / 1.049 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.9241, allocations: 4 kB / 1.049 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009562/0.9251, allocations: 0.7045 MB / 1.05 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.9251, allocations: 16.06 kB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.9251, allocations: 16 kB / 1.05 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.9252, allocations: 20 kB / 1.05 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.9254, allocations: 91.7 kB / 1.05 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/0.9254, allocations: 31.86 kB / 1.05 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.9257, allocations: 87.06 kB / 1.05 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.9258, allocations: 40 kB / 1.05 GB, free: 15.65 MB / 0.8106 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.000952/0.9267, allocations: 0.7573 MB / 1.051 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.9268, allocations: 164.2 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.9269, allocations: 169.3 kB / 1.051 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.681e-05/0.927, allocations: 184.2 kB / 1.051 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-05/0.9271, allocations: 176.3 kB / 1.051 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.738e-05/0.9272, allocations: 180.2 kB / 1.051 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.9287, allocations: 1.612 MB / 1.053 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.9287, allocations: 105 kB / 1.053 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.9288, allocations: 104.9 kB / 1.053 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.9288, allocations: 180.2 kB / 1.053 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.9289, allocations: 188.2 kB / 1.054 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.626e-05/0.929, allocations: 180.3 kB / 1.054 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.326e-05/0.929, allocations: 184.2 kB / 1.054 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.9292, allocations: 363 kB / 1.054 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.9293, allocations: 221.4 kB / 1.055 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.9294, allocations: 176.3 kB / 1.055 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.9295, allocations: 105 kB / 1.055 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.9296, allocations: 188.2 kB / 1.055 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.9296, allocations: 101 kB / 1.055 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004727/0.9301, allocations: 0.499 MB / 1.056 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9301, allocations: 0 / 1.056 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008339/0.9309, allocations: 329.3 kB / 1.056 GB, free: 9.324 MB / 0.8106 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.0001628/0.9311, allocations: 174.5 kB / 1.056 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.9315, allocations: 294.4 kB / 1.056 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9315, allocations: 0 / 1.056 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.9315, allocations: 0 / 1.056 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.932, allocations: 0.495 MB / 1.057 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.9361, allocations: 2.971 MB / 1.06 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.9373, allocations: 1.395 MB / 1.061 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.9378, allocations: 296.5 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.9378, allocations: 35.44 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.9378, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of Templates: time 0.009038/0.9469, allocations: 2.555 MB / 1.064 GB, free: 1.059 MB / 0.8106 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=480 -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/jenkins/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