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.001055/0.001055, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001421/0.001421, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.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.635/2.635, allocations: 390.9 MB / 0.666 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004678, allocations: 12 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.802, allocations: 142.4 MB / 0.9545 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001825/0.8039, allocations: 0.8465 MB / 0.9553 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008244/0.8048, allocations: 228.7 kB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.8051, allocations: 15.22 kB / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.8054, allocations: 86.41 kB / 0.9556 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.8057, allocations: 68.67 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.8059, allocations: 61.12 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.8069, allocations: 0.8024 MB / 0.9565 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.8093, allocations: 1.48 MB / 0.958 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.8097, allocations: 171.9 kB / 0.9581 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.8101, allocations: 203.8 kB / 0.9583 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.8101, allocations: 16.45 kB / 0.9583 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.8102, allocations: 12.84 kB / 0.9583 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/0.8108, allocations: 0.5177 MB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.8112, allocations: 263.7 kB / 0.9591 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.8136, allocations: 1.925 MB / 0.961 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.8136, allocations: 0 / 0.961 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8136, allocations: 0 / 0.961 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002016/0.8139, allocations: 0 / 0.961 GB, free: 3.73 MB / 0.7169 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.004063/0.8179, allocations: 1.486 MB / 0.9624 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.818, allocations: 13.3 kB / 0.9624 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.8187, allocations: 196.9 kB / 0.9626 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.8203, allocations: 0.9348 MB / 0.9635 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.8204, allocations: 154.8 kB / 0.9637 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.8206, allocations: 195.8 kB / 0.9639 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/0.825, allocations: 2.789 MB / 0.9666 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.825, allocations: 11.34 kB / 0.9666 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.8252, allocations: 92.62 kB / 0.9667 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.8253, allocations: 56.44 kB / 0.9667 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.8283, allocations: 1.626 MB / 0.9683 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.8402, allocations: 10.47 MB / 0.9786 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.8404, allocations: 165.1 kB / 0.9787 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.8405, allocations: 80.14 kB / 0.9788 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.8406, allocations: 79.28 kB / 0.9789 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.892e-05/0.8407, allocations: 113.8 kB / 0.979 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 3.536e-06/0.8407, allocations: 4 kB / 0.979 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002462/0.8409, allocations: 81.06 kB / 0.9791 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.841, allocations: 130.7 kB / 0.9792 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.8422, allocations: 0.901 MB / 0.9801 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.8422, allocations: 25.7 kB / 0.9801 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/0.843, allocations: 0.8587 MB / 0.9809 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.843, allocations: 11.98 kB / 0.9809 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.843, allocations: 12 kB / 0.9809 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002378/0.8433, allocations: 370.8 kB / 0.9813 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.8435, allocations: 129.2 kB / 0.9814 GB, free: 3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.8442, allocations: 0.5873 MB / 0.982 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.8446, allocations: 279.6 kB / 0.9823 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.8446, allocations: 4 kB / 0.9823 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001142/0.8457, allocations: 0.6959 MB / 0.9829 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.8458, allocations: 12 kB / 0.983 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.8458, allocations: 16.88 kB / 0.983 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.403e-05/0.8459, allocations: 24 kB / 0.983 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.8462, allocations: 91.77 kB / 0.9831 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.8462, allocations: 31.86 kB / 0.9831 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.8465, allocations: 83.12 kB / 0.9832 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.8466, allocations: 43.95 kB / 0.9832 GB, free: 0.9023 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001477/0.8481, allocations: 0.7568 MB / 0.984 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.8483, allocations: 152.3 kB / 0.9841 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.8484, allocations: 177 kB / 0.9843 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/0.8485, allocations: 188.2 kB / 0.9845 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/0.8486, allocations: 180.2 kB / 0.9846 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/0.8486, allocations: 176.3 kB / 0.9848 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.8506, allocations: 1.612 MB / 0.9864 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-05/0.8507, allocations: 104.9 kB / 0.9865 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.8508, allocations: 112.9 kB / 0.9866 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.8509, allocations: 184.2 kB / 0.9868 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.851, allocations: 180.2 kB / 0.9869 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001197/0.8511, allocations: 176.3 kB / 0.9871 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001106/0.8513, allocations: 180.2 kB / 0.9873 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.8516, allocations: 367 kB / 0.9876 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.8517, allocations: 221.3 kB / 0.9878 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.8518, allocations: 176.3 kB / 0.988 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.852, allocations: 108.9 kB / 0.9881 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.8521, allocations: 176.3 kB / 0.9883 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.8521, allocations: 116.9 kB / 0.9884 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000634/0.8528, allocations: 0.4912 MB / 0.9889 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8528, allocations: 3.938 kB / 0.9889 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001145/0.8539, allocations: 325.3 kB / 0.9892 GB, free: 10.58 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.8541, allocations: 178.3 kB / 0.9894 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.8546, allocations: 295.7 kB / 0.9896 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8546, allocations: 0 / 0.9896 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.8546, allocations: 0 / 0.9896 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.8552, allocations: 0.5605 MB / 0.9902 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.86, allocations: 2.821 MB / 0.9929 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8612, allocations: 1.4 MB / 0.9943 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005122/0.8617, allocations: 292.5 kB / 0.9946 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.8618, allocations: 35.44 kB / 0.9946 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of SimCode: time 1.072e-06/0.8618, allocations: 0 / 0.9946 GB, free: 4.941 MB / 0.7481 GB Notification: Performance of Templates: time 0.009224/0.871, allocations: 2.509 MB / 0.9971 GB, free: 2.438 MB / 0.7481 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