Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 109.8 kB / 15.99 MB, free: 6.34 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.002237/0.002237, allocations: 195.1 kB / 16.91 MB, free: 6.18 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 62.94 kB / 0.8127 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.234, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002529/0.2366, allocations: 1.246 MB / 0.951 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005738/0.2372, allocations: 235.7 kB / 0.9512 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.2373, allocations: 7.938 kB / 0.9513 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.2376, allocations: 103.4 kB / 0.9514 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.2378, allocations: 59.75 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.2379, allocations: 71.94 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.2387, allocations: 0.8001 MB / 0.9523 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.2407, allocations: 1.95 MB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.2412, allocations: 0.5494 MB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.242, allocations: 0.7128 MB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.2422, allocations: 120 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.2424, allocations: 116 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.243, allocations: 0.7327 MB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007887/0.2438, allocations: 0.8159 MB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.2454, allocations: 2.028 MB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2454, allocations: 4 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2454, allocations: 0 / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.247e-05/0.2455, allocations: 0 / 0.9591 GB, free: 15.62 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.002426/0.2479, allocations: 1.862 MB / 0.9609 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2479, allocations: 8.031 kB / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.2482, allocations: 206.5 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.2496, allocations: 0.9494 MB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2497, allocations: 152.5 kB / 0.9622 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.25, allocations: 196.4 kB / 0.9624 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.2539, allocations: 2.81 MB / 0.9651 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/0.254, allocations: 8.125 kB / 0.9652 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.2542, allocations: 95.94 kB / 0.9652 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.2542, allocations: 60 kB / 0.9653 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.2565, allocations: 1.639 MB / 0.9669 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008222/0.2648, allocations: 10.46 MB / 0.9771 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.2649, allocations: 173.1 kB / 0.9773 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.2649, allocations: 84.08 kB / 0.9774 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.265, allocations: 75.28 kB / 0.9774 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.265, allocations: 109.8 kB / 0.9775 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.265, allocations: 0 / 0.9775 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001373/0.2652, allocations: 88.94 kB / 0.9776 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2652, allocations: 126.7 kB / 0.9777 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.2661, allocations: 0.9088 MB / 0.9786 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2662, allocations: 25.7 kB / 0.9787 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.2667, allocations: 0.8472 MB / 0.9795 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2667, allocations: 11.98 kB / 0.9795 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.267, allocations: 279 kB / 0.9798 GB, free: 9.645 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2672, allocations: 374.7 kB / 0.9801 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2674, allocations: 137.1 kB / 0.9803 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.2678, allocations: 0.5835 MB / 0.9808 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.2685, allocations: 0.7766 MB / 0.9816 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.2686, allocations: 4 kB / 0.9816 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009674/0.2695, allocations: 0.7077 MB / 0.9823 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2696, allocations: 15.94 kB / 0.9823 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.2696, allocations: 16 kB / 0.9823 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.2696, allocations: 20.78 kB / 0.9823 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2698, allocations: 87.77 kB / 0.9824 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.2699, allocations: 31.88 kB / 0.9824 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.2702, allocations: 91.05 kB / 0.9825 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.2702, allocations: 44 kB / 0.9826 GB, free: 6.289 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.0008043/0.271, allocations: 0.749 MB / 0.9833 GB, free: 5.531 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2711, allocations: 160.2 kB / 0.9835 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2712, allocations: 173 kB / 0.9836 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/0.2713, allocations: 188.2 kB / 0.9838 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.372e-05/0.2714, allocations: 176.3 kB / 0.984 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.454e-05/0.2714, allocations: 184.2 kB / 0.9841 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.273, allocations: 1.605 MB / 0.9857 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/0.2731, allocations: 108.9 kB / 0.9858 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.2731, allocations: 101 kB / 0.9859 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.752e-05/0.2732, allocations: 184.3 kB / 0.9861 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.2732, allocations: 184.2 kB / 0.9863 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.567e-05/0.2733, allocations: 176.3 kB / 0.9864 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.084e-05/0.2733, allocations: 180.2 kB / 0.9866 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2735, allocations: 363.3 kB / 0.9869 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2736, allocations: 221.4 kB / 0.9872 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.2737, allocations: 180.3 kB / 0.9873 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.2738, allocations: 108.9 kB / 0.9874 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.2739, allocations: 184.3 kB / 0.9876 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.2739, allocations: 109 kB / 0.9877 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004986/0.2744, allocations: 0.4912 MB / 0.9882 GB, free: 308 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.573e-06/0.2744, allocations: 0 / 0.9882 GB, free: 308 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008014/0.2753, allocations: 333.4 kB / 0.9885 GB, free: 15.97 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.0001324/0.2754, allocations: 174.5 kB / 0.9887 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.2758, allocations: 291.8 kB / 0.989 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2758, allocations: 8.062 kB / 0.989 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.2758, allocations: 7.938 kB / 0.989 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.2763, allocations: 494.6 kB / 0.9894 GB, free: 15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.28, allocations: 3.106 MB / 0.9925 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.281, allocations: 1.395 MB / 0.9938 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.2811, allocations: 39.44 kB / 0.9939 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.2811, allocations: 0 / 0.9939 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.01577/0.2969, allocations: 11.2 MB / 1.005 GB, free: 15.2 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches