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.001113/0.001113, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009892/0.009892, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.61/2.61, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8006, allocations: 142.4 MB / 0.9551 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001531/0.8022, allocations: 0.8864 MB / 0.9559 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.8029, allocations: 231.2 kB / 0.9562 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.803, allocations: 11.81 kB / 0.9562 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.8033, allocations: 99.31 kB / 0.9563 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.8035, allocations: 62.77 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.8036, allocations: 79.92 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.8044, allocations: 0.7637 MB / 0.9571 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.8063, allocations: 1.872 MB / 0.959 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.8067, allocations: 208.5 kB / 0.9592 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.807, allocations: 406.2 kB / 0.9596 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.8071, allocations: 12.31 kB / 0.9596 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.8072, allocations: 12.31 kB / 0.9596 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.8076, allocations: 0.5362 MB / 0.9601 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.8081, allocations: 0.5942 MB / 0.9607 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.8098, allocations: 2.305 MB / 0.9629 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8098, allocations: 0 / 0.9629 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.807e-06/0.8098, allocations: 1.031 kB / 0.9629 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.136e-05/0.8099, allocations: 0 / 0.9629 GB, free: 2.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.001989/0.8119, allocations: 1.454 MB / 0.9644 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.812, allocations: 9.188 kB / 0.9644 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.8123, allocations: 194.7 kB / 0.9646 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.8138, allocations: 0.9516 MB / 0.9655 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.814, allocations: 154.6 kB / 0.9656 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.8143, allocations: 200.2 kB / 0.9658 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.8194, allocations: 2.8 MB / 0.9686 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.8195, allocations: 17.06 kB / 0.9686 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.8197, allocations: 95.66 kB / 0.9687 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.8198, allocations: 55.88 kB / 0.9687 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.8239, allocations: 1.639 MB / 0.9703 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.8363, allocations: 10.48 MB / 0.9805 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.8365, allocations: 173.1 kB / 0.9807 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.8366, allocations: 84.08 kB / 0.9808 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.8366, allocations: 75.28 kB / 0.9809 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.8367, allocations: 113.8 kB / 0.981 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 4.348e-06/0.8367, allocations: 3.984 kB / 0.981 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001771/0.8369, allocations: 77.05 kB / 0.9811 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.837, allocations: 130.7 kB / 0.9812 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.8381, allocations: 0.9204 MB / 0.9821 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8381, allocations: 25.7 kB / 0.9821 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/0.8388, allocations: 0.8392 MB / 0.9829 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.8388, allocations: 11.98 kB / 0.9829 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.839, allocations: 206.7 kB / 0.9831 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.8392, allocations: 374.7 kB / 0.9835 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.8394, allocations: 133.2 kB / 0.9836 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.84, allocations: 0.5912 MB / 0.9842 GB, free: 428 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.8408, allocations: 0.7728 MB / 0.9849 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.8408, allocations: 12 kB / 0.985 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001031/0.8418, allocations: 0.6966 MB / 0.9856 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.8419, allocations: 12 kB / 0.9856 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.8419, allocations: 16 kB / 0.9857 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-05/0.8419, allocations: 20 kB / 0.9857 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.8422, allocations: 91.7 kB / 0.9858 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/0.8422, allocations: 31.86 kB / 0.9858 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.8426, allocations: 83.12 kB / 0.9859 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.8426, allocations: 40 kB / 0.9859 GB, free: 14.41 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.001156/0.8438, allocations: 0.7648 MB / 0.9867 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.8439, allocations: 156.3 kB / 0.9868 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.844, allocations: 173.1 kB / 0.987 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.582e-05/0.8441, allocations: 180.2 kB / 0.9872 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-05/0.8442, allocations: 176.3 kB / 0.9873 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.35e-05/0.8443, allocations: 180.3 kB / 0.9875 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.8461, allocations: 1.608 MB / 0.9891 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/0.8462, allocations: 104.9 kB / 0.9892 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.8463, allocations: 112.9 kB / 0.9893 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.049e-05/0.8463, allocations: 180.3 kB / 0.9894 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.315e-05/0.8464, allocations: 180.2 kB / 0.9896 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.201e-05/0.8465, allocations: 180.3 kB / 0.9898 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.632e-05/0.8466, allocations: 180.3 kB / 0.99 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.8468, allocations: 362.9 kB / 0.9903 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.847, allocations: 221.6 kB / 0.9905 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.8471, allocations: 184.3 kB / 0.9907 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.8472, allocations: 113 kB / 0.9908 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.8473, allocations: 180.2 kB / 0.991 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.8473, allocations: 105 kB / 0.9911 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005638/0.8479, allocations: 0.4951 MB / 0.9916 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8479, allocations: 0 / 0.9916 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009816/0.8489, allocations: 329.3 kB / 0.9919 GB, free: 8.086 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.0001725/0.8491, allocations: 180.4 kB / 0.992 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.8495, allocations: 295.8 kB / 0.9923 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8496, allocations: 0 / 0.9923 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.8496, allocations: 0 / 0.9923 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.8503, allocations: 0.5774 MB / 0.9929 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.855, allocations: 2.976 MB / 0.9958 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.8565, allocations: 1.388 MB / 0.9971 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006086/0.8571, allocations: 296.5 kB / 0.9974 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.8572, allocations: 35.44 kB / 0.9975 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/0.8572, allocations: 0 / 0.9975 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of Templates: time 0.01212/0.8693, allocations: 2.504 MB / 0.9999 GB, free: 15.81 MB / 0.7637 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/jenkins/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