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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001629/0.001629, allocations: 117.5 kB / 16.37 MB, free: 6.016 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.001875/0.001875, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 66.06 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3277, allocations: 140.4 MB / 0.9512 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002573/0.3303, allocations: 1.196 MB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005031/0.3308, allocations: 243.8 kB / 0.9526 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.3309, allocations: 11.88 kB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.3312, allocations: 107.3 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.3314, allocations: 71.72 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3315, allocations: 79.91 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.3322, allocations: 0.7376 MB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3341, allocations: 1.954 MB / 0.9554 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.3346, allocations: 0.5494 MB / 0.956 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.3353, allocations: 0.6854 MB / 0.9566 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.3355, allocations: 120 kB / 0.9568 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.3356, allocations: 123.9 kB / 0.9569 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.3363, allocations: 0.7211 MB / 0.9576 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.337, allocations: 0.8237 MB / 0.9584 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.3389, allocations: 2.503 MB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3389, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3389, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.878e-05/0.3389, allocations: 0 / 0.9608 GB, free: 14.07 MB / 0.7481 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.002066/0.341, allocations: 1.866 MB / 0.9627 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.3411, allocations: 8.031 kB / 0.9627 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.3414, allocations: 202.5 kB / 0.9629 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.3432, allocations: 0.9533 MB / 0.9638 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.3434, allocations: 152.5 kB / 0.9639 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.3436, allocations: 196.4 kB / 0.9641 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.3474, allocations: 2.802 MB / 0.9669 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.3474, allocations: 16 kB / 0.9669 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.3476, allocations: 91.94 kB / 0.967 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.3477, allocations: 56 kB / 0.967 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.35, allocations: 1.643 MB / 0.9686 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00917/0.3592, allocations: 10.47 MB / 0.9788 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3593, allocations: 165.1 kB / 0.979 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.3594, allocations: 84.08 kB / 0.9791 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.3594, allocations: 79.28 kB / 0.9792 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.3595, allocations: 105.8 kB / 0.9793 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.3595, allocations: 4 kB / 0.9793 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001736/0.3597, allocations: 84.89 kB / 0.9793 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.3598, allocations: 126.7 kB / 0.9795 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3612, allocations: 0.9166 MB / 0.9804 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3612, allocations: 25.7 kB / 0.9804 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008334/0.362, allocations: 0.8394 MB / 0.9812 GB, free: 8.383 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.3621, allocations: 15.98 kB / 0.9812 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.3625, allocations: 271 kB / 0.9815 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.3627, allocations: 378.8 kB / 0.9818 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.363, allocations: 133.2 kB / 0.982 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.3637, allocations: 0.5834 MB / 0.9825 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3647, allocations: 0.7806 MB / 0.9833 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.3648, allocations: 4 kB / 0.9833 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001421/0.3662, allocations: 0.7001 MB / 0.984 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.3662, allocations: 12 kB / 0.984 GB, free: 5.039 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.3663, allocations: 20 kB / 0.984 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.3663, allocations: 20 kB / 0.984 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3666, allocations: 87.72 kB / 0.9841 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.628e-05/0.3667, allocations: 36.39 kB / 0.9842 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.3671, allocations: 91.06 kB / 0.9842 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.3672, allocations: 36 kB / 0.9843 GB, free: 4.754 MB / 0.7637 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.001221/0.3684, allocations: 0.7564 MB / 0.985 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3686, allocations: 172.1 kB / 0.9852 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3687, allocations: 165.3 kB / 0.9853 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-05/0.3688, allocations: 180.3 kB / 0.9855 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-05/0.3689, allocations: 184.2 kB / 0.9857 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.438e-05/0.369, allocations: 180.2 kB / 0.9859 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.3712, allocations: 1.612 MB / 0.9874 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.3713, allocations: 101 kB / 0.9875 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.3713, allocations: 101 kB / 0.9876 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.3714, allocations: 188.2 kB / 0.9878 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/0.3715, allocations: 180.3 kB / 0.988 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-05/0.3716, allocations: 180.2 kB / 0.9881 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.847e-05/0.3717, allocations: 184.2 kB / 0.9883 GB, free: 472 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.3719, allocations: 363 kB / 0.9887 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3721, allocations: 217.4 kB / 0.9889 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3722, allocations: 188.2 kB / 0.9891 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3724, allocations: 101 kB / 0.9891 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.3725, allocations: 184.2 kB / 0.9893 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.3725, allocations: 101.3 kB / 0.9894 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007479/0.3733, allocations: 0.5029 MB / 0.9899 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3733, allocations: 0 / 0.9899 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00125/0.3746, allocations: 325.3 kB / 0.9902 GB, free: 14.43 MB / 0.7794 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.0001639/0.3747, allocations: 174.5 kB / 0.9904 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000573/0.3753, allocations: 295.6 kB / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3753, allocations: 0 / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.3754, allocations: 4.25 kB / 0.9907 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.376, allocations: 0.4927 MB / 0.9912 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.3809, allocations: 2.319 MB / 0.9934 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.3824, allocations: 1.395 MB / 0.9948 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007126/0.3831, allocations: 292.5 kB / 0.9951 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.3832, allocations: 39.44 kB / 0.9951 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of SimCode: time 1.242e-06/0.3832, allocations: 0 / 0.9951 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.009694/0.3929, allocations: 2.557 MB / 0.9976 GB, free: 6.812 MB / 0.7794 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 -s gbode -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/jenkins1/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