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.001041/0.001041, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001076, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.277 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.498/2.498, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8583/0.8588, allocations: 142.4 MB / 0.9557 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001587/0.8605, allocations: 0.8823 MB / 0.9566 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005085/0.861, allocations: 236.7 kB / 0.9568 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.8611, allocations: 14.91 kB / 0.9568 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.8613, allocations: 99.23 kB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.8616, allocations: 66.25 kB / 0.957 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.8617, allocations: 68.45 kB / 0.9571 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.8625, allocations: 0.7671 MB / 0.9578 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.8646, allocations: 1.877 MB / 0.9596 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.8649, allocations: 207.6 kB / 0.9598 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.8653, allocations: 401.6 kB / 0.9602 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.8653, allocations: 13.38 kB / 0.9602 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.8654, allocations: 12.38 kB / 0.9602 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005344/0.8659, allocations: 0.5404 MB / 0.9608 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.8664, allocations: 0.5892 MB / 0.9613 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.868, allocations: 1.933 MB / 0.9632 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.868, allocations: 0 / 0.9632 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.446e-06/0.868, allocations: 4 kB / 0.9632 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.292e-05/0.8681, allocations: 1.25 kB / 0.9632 GB, free: 2.898 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.002003/0.8701, allocations: 1.454 MB / 0.9647 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.8701, allocations: 8.562 kB / 0.9647 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.8705, allocations: 194.8 kB / 0.9648 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.872, allocations: 0.9515 MB / 0.9658 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.8721, allocations: 154.8 kB / 0.9659 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.8725, allocations: 195.9 kB / 0.9661 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.8771, allocations: 2.806 MB / 0.9689 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.8771, allocations: 11.66 kB / 0.9689 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.8773, allocations: 92.66 kB / 0.969 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.8774, allocations: 59.61 kB / 0.969 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003145/0.8806, allocations: 1.644 MB / 0.9706 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.8929, allocations: 10.48 MB / 0.9808 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.893, allocations: 165.1 kB / 0.981 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.8931, allocations: 88.08 kB / 0.9811 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.8931, allocations: 75.28 kB / 0.9812 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.8932, allocations: 113.8 kB / 0.9813 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.8932, allocations: 0 / 0.9813 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002238/0.8934, allocations: 77.05 kB / 0.9813 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.8935, allocations: 126.7 kB / 0.9815 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.895, allocations: 0.9243 MB / 0.9824 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.895, allocations: 29.7 kB / 0.9824 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/0.8957, allocations: 0.8432 MB / 0.9832 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.8957, allocations: 8 kB / 0.9832 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.8961, allocations: 206.7 kB / 0.9834 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.8963, allocations: 370.8 kB / 0.9838 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.8965, allocations: 133.2 kB / 0.9839 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.897, allocations: 0.5912 MB / 0.9845 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.8978, allocations: 0.7728 MB / 0.9852 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.8979, allocations: 4 kB / 0.9852 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00111/0.899, allocations: 0.7045 MB / 0.9859 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.899, allocations: 19.94 kB / 0.9859 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.899, allocations: 16 kB / 0.986 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.8991, allocations: 20 kB / 0.986 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.8993, allocations: 91.66 kB / 0.9861 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/0.8993, allocations: 31.86 kB / 0.9861 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.8997, allocations: 83.12 kB / 0.9862 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.8998, allocations: 40 kB / 0.9862 GB, free: 14.78 MB / 0.7481 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.001072/0.9008, allocations: 0.7607 MB / 0.987 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9009, allocations: 160.2 kB / 0.9871 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.9011, allocations: 169.1 kB / 0.9873 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.9012, allocations: 184.2 kB / 0.9874 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.555e-05/0.9013, allocations: 176.3 kB / 0.9876 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/0.9014, allocations: 180.2 kB / 0.9878 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.9037, allocations: 1.612 MB / 0.9894 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/0.9038, allocations: 101 kB / 0.9895 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.9038, allocations: 104.9 kB / 0.9896 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-05/0.9039, allocations: 180.3 kB / 0.9897 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.904, allocations: 184.2 kB / 0.9899 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.2e-05/0.9041, allocations: 176.3 kB / 0.9901 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.251e-05/0.9042, allocations: 184.2 kB / 0.9902 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.9044, allocations: 363 kB / 0.9906 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.9046, allocations: 221.6 kB / 0.9908 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9047, allocations: 184.2 kB / 0.991 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.9048, allocations: 105 kB / 0.9911 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.9049, allocations: 188.2 kB / 0.9913 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.9049, allocations: 105 kB / 0.9914 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006178/0.9056, allocations: 0.4951 MB / 0.9918 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9056, allocations: 0 / 0.9918 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001238/0.9068, allocations: 329.3 kB / 0.9922 GB, free: 8.461 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 (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.0002788/0.9071, allocations: 176.1 kB / 0.9923 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.9077, allocations: 294.3 kB / 0.9926 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9077, allocations: 0 / 0.9926 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.9077, allocations: 0 / 0.9926 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.9083, allocations: 0.5736 MB / 0.9932 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.9133, allocations: 3.095 MB / 0.9962 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.9147, allocations: 1.396 MB / 0.9976 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.9148, allocations: 39.44 kB / 0.9976 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of SimCode: time 1.243e-06/0.9148, allocations: 0 / 0.9976 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.01968/0.9345, allocations: 10.96 MB / 1.008 GB, free: 7.848 MB / 0.7637 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/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