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.001241/0.001241, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00152/0.00152, allocations: 177.3 kB / 15.94 MB, free: 228 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.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.423/2.423, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5968, allocations: 142.3 MB / 0.9535 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001216/0.5981, allocations: 0.8483 MB / 0.9544 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.5985, allocations: 229.7 kB / 0.9546 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.5986, allocations: 11.81 kB / 0.9546 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.5988, allocations: 106.1 kB / 0.9547 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.599, allocations: 69.38 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.573e-05/0.5991, allocations: 63.75 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.5994, allocations: 374.1 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.6007, allocations: 1.475 MB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.6008, allocations: 171.2 kB / 0.9568 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.6009, allocations: 198.6 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.601, allocations: 12.38 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.601, allocations: 16.38 kB / 0.957 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.6014, allocations: 0.5307 MB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.6015, allocations: 258.2 kB / 0.9578 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.6029, allocations: 1.991 MB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6029, allocations: 0 / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6029, allocations: 1.344 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.603, allocations: 0 / 0.9597 GB, free: 4.16 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.001573/0.6046, allocations: 1.473 MB / 0.9612 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6046, allocations: 10.91 kB / 0.9612 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.6049, allocations: 195 kB / 0.9614 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.6065, allocations: 0.943 MB / 0.9623 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.6066, allocations: 152.1 kB / 0.9624 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.6068, allocations: 198 kB / 0.9626 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.6103, allocations: 2.765 MB / 0.9653 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.239e-05/0.6104, allocations: 12.06 kB / 0.9653 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.6106, allocations: 88.09 kB / 0.9654 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.6106, allocations: 56.31 kB / 0.9655 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.613, allocations: 1.63 MB / 0.9671 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008653/0.6217, allocations: 10.46 MB / 0.9773 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.6218, allocations: 174.3 kB / 0.9774 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6218, allocations: 75.28 kB / 0.9775 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.6219, allocations: 106.9 kB / 0.9776 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.6219, allocations: 0 / 0.9776 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001548/0.622, allocations: 85.52 kB / 0.9777 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.6221, allocations: 130.7 kB / 0.9778 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.6232, allocations: 0.8993 MB / 0.9787 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.6232, allocations: 25.7 kB / 0.9787 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.6238, allocations: 0.8527 MB / 0.9796 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.6238, allocations: 13.33 kB / 0.9796 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.6238, allocations: 10.44 kB / 0.9796 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.624, allocations: 376 kB / 0.9799 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.6242, allocations: 138.4 kB / 0.9801 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.6246, allocations: 0.5795 MB / 0.9806 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.625, allocations: 275.7 kB / 0.9809 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.625, allocations: 11.94 kB / 0.9809 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009638/0.6259, allocations: 0.6926 MB / 0.9816 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.626, allocations: 12 kB / 0.9816 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.626, allocations: 16 kB / 0.9816 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.626, allocations: 27.94 kB / 0.9816 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6263, allocations: 83.78 kB / 0.9817 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.6263, allocations: 31.86 kB / 0.9817 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.6266, allocations: 87.12 kB / 0.9818 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.6267, allocations: 36 kB / 0.9819 GB, free: 2.07 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.001035/0.6277, allocations: 0.7686 MB / 0.9826 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.6278, allocations: 156.3 kB / 0.9828 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.6279, allocations: 169.1 kB / 0.9829 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.952e-05/0.628, allocations: 184.2 kB / 0.9831 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-05/0.628, allocations: 192.3 kB / 0.9833 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/0.6281, allocations: 184.2 kB / 0.9835 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6299, allocations: 1.605 MB / 0.985 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-05/0.6299, allocations: 101 kB / 0.9851 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.6299, allocations: 104.9 kB / 0.9852 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.322e-05/0.63, allocations: 180.2 kB / 0.9854 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.6301, allocations: 184.2 kB / 0.9856 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.716e-05/0.6301, allocations: 188.2 kB / 0.9858 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.885e-05/0.6302, allocations: 180.2 kB / 0.9859 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.6303, allocations: 351.1 kB / 0.9863 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6304, allocations: 233.3 kB / 0.9865 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.6305, allocations: 180.3 kB / 0.9867 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.6306, allocations: 104.9 kB / 0.9868 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6307, allocations: 176.3 kB / 0.9869 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.6307, allocations: 105 kB / 0.987 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004857/0.6312, allocations: 0.4912 MB / 0.9875 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6312, allocations: 0 / 0.9875 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008976/0.6321, allocations: 329.3 kB / 0.9878 GB, free: 11.75 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.000133/0.6323, allocations: 186.5 kB / 0.988 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.6327, allocations: 283.8 kB / 0.9883 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6327, allocations: 4 kB / 0.9883 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.6327, allocations: 3.938 kB / 0.9883 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.6331, allocations: 0.5646 MB / 0.9888 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.6366, allocations: 2.819 MB / 0.9916 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/0.6376, allocations: 1.423 MB / 0.993 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004763/0.6381, allocations: 292.5 kB / 0.9932 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.6381, allocations: 35.44 kB / 0.9933 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.6381, allocations: 0 / 0.9933 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of Templates: time 0.008307/0.6464, allocations: 2.508 MB / 0.9957 GB, free: 3.602 MB / 0.7481 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","../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