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.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_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.0009819/0.0009818, allocations: 92.16 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.00126/0.00126, allocations: 172.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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.336 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.47/2.47, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003755, allocations: 8 kB / 0.8167 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.736, allocations: 142.4 MB / 0.9557 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001527/0.7376, allocations: 0.8868 MB / 0.9566 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000543/0.7382, allocations: 227.8 kB / 0.9568 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.7383, allocations: 15.28 kB / 0.9568 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.7385, allocations: 98.41 kB / 0.9569 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.7388, allocations: 66.98 kB / 0.957 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.7389, allocations: 68.69 kB / 0.9571 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008429/0.7397, allocations: 0.7632 MB / 0.9578 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.7419, allocations: 1.877 MB / 0.9596 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.7422, allocations: 211.6 kB / 0.9598 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.7426, allocations: 394 kB / 0.9602 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.7426, allocations: 16.77 kB / 0.9602 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.7427, allocations: 12.38 kB / 0.9602 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004393/0.7431, allocations: 0.5437 MB / 0.9608 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.7436, allocations: 0.59 MB / 0.9614 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.745, allocations: 1.99 MB / 0.9633 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7451, allocations: 5.125 kB / 0.9633 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7451, allocations: 0 / 0.9633 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.866e-05/0.7451, allocations: 0 / 0.9633 GB, free: 3.105 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.001773/0.7469, allocations: 1.458 MB / 0.9647 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.747, allocations: 9.219 kB / 0.9647 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.7473, allocations: 198.8 kB / 0.9649 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.7487, allocations: 0.9511 MB / 0.9659 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7488, allocations: 151.6 kB / 0.966 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.7491, allocations: 200.1 kB / 0.9662 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.7531, allocations: 2.804 MB / 0.9689 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.7532, allocations: 13.97 kB / 0.9689 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.7534, allocations: 90.62 kB / 0.969 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.7535, allocations: 57.03 kB / 0.9691 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.7562, allocations: 1.631 MB / 0.9707 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009631/0.7659, allocations: 10.47 MB / 0.9809 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.766, allocations: 165.1 kB / 0.9811 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.7661, allocations: 92.08 kB / 0.9811 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.7661, allocations: 87.2 kB / 0.9812 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.7661, allocations: 105.8 kB / 0.9813 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.7661, allocations: 0 / 0.9813 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000154/0.7663, allocations: 77.05 kB / 0.9814 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.7664, allocations: 126.7 kB / 0.9815 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.7673, allocations: 0.9204 MB / 0.9824 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.7674, allocations: 25.7 kB / 0.9825 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.7679, allocations: 0.8394 MB / 0.9833 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.7679, allocations: 19.98 kB / 0.9833 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.7681, allocations: 198.7 kB / 0.9835 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7683, allocations: 374.8 kB / 0.9838 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.7685, allocations: 133.2 kB / 0.984 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.7689, allocations: 0.5912 MB / 0.9845 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.7696, allocations: 0.7728 MB / 0.9853 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.7697, allocations: 4 kB / 0.9853 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009466/0.7706, allocations: 0.7006 MB / 0.986 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.7706, allocations: 15.94 kB / 0.986 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.7707, allocations: 16 kB / 0.986 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.7707, allocations: 20 kB / 0.986 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.7709, allocations: 95.7 kB / 0.9861 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.771e-05/0.771, allocations: 35.86 kB / 0.9862 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.7713, allocations: 79.12 kB / 0.9862 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.7713, allocations: 40 kB / 0.9863 GB, free: 14.75 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.000961/0.7723, allocations: 0.7607 MB / 0.987 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.7724, allocations: 156.3 kB / 0.9872 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.7725, allocations: 173.1 kB / 0.9873 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.877e-05/0.7726, allocations: 188.2 kB / 0.9875 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-05/0.7726, allocations: 176.3 kB / 0.9877 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.7727, allocations: 184.2 kB / 0.9879 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.7742, allocations: 1.605 MB / 0.9894 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/0.7743, allocations: 104.9 kB / 0.9895 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.7743, allocations: 112.9 kB / 0.9896 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-05/0.7744, allocations: 176.3 kB / 0.9898 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.7745, allocations: 180.2 kB / 0.99 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.7745, allocations: 184.3 kB / 0.9901 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.294e-05/0.7746, allocations: 180.3 kB / 0.9903 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.7748, allocations: 358.9 kB / 0.9907 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7749, allocations: 229.6 kB / 0.9909 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.775, allocations: 184.3 kB / 0.9911 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.7751, allocations: 109 kB / 0.9912 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.7751, allocations: 184.2 kB / 0.9913 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.7752, allocations: 101 kB / 0.9914 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005082/0.7757, allocations: 0.499 MB / 0.9919 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7757, allocations: 0 / 0.9919 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008641/0.7766, allocations: 329.3 kB / 0.9922 GB, free: 8.422 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.0001432/0.7767, allocations: 178.5 kB / 0.9924 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.7771, allocations: 290.2 kB / 0.9927 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7771, allocations: 0 / 0.9927 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.7771, allocations: 5.625 kB / 0.9927 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.7777, allocations: 0.5658 MB / 0.9932 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.7816, allocations: 3.098 MB / 0.9963 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.7826, allocations: 1.396 MB / 0.9976 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.7827, allocations: 39.44 kB / 0.9977 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.7827, allocations: 0 / 0.9977 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of Templates: time 0.01539/0.7981, allocations: 10.96 MB / 1.008 GB, free: 7.816 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/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