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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 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.001761/0.001761, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.246/2.246, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6367, allocations: 140.4 MB / 0.9498 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.002378/0.6392, allocations: 1.197 MB / 0.9509 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004906/0.6397, allocations: 243.5 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.6398, allocations: 11.41 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.64, allocations: 110 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.6402, allocations: 66.78 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.6403, allocations: 72.48 kB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000589/0.6409, allocations: 0.7306 MB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.6426, allocations: 1.951 MB / 0.954 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.643, allocations: 0.5618 MB / 0.9546 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.6435, allocations: 0.6926 MB / 0.9553 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.6437, allocations: 116.9 kB / 0.9554 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.6439, allocations: 116 kB / 0.9555 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005279/0.6445, allocations: 0.7209 MB / 0.9562 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.6451, allocations: 0.8198 MB / 0.957 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.6467, allocations: 2.435 MB / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6467, allocations: 1.344 kB / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6467, allocations: 0 / 0.9594 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.782e-05/0.6467, allocations: 0 / 0.9594 GB, free: 3.047 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.001853/0.6486, allocations: 1.863 MB / 0.9612 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6486, allocations: 9.625 kB / 0.9612 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003319/0.649, allocations: 318.1 kB / 0.9615 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.6493, allocations: 202.3 kB / 0.9617 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.6507, allocations: 0.9433 MB / 0.9626 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.6508, allocations: 151.5 kB / 0.9627 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.6511, allocations: 199.4 kB / 0.9629 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.655, allocations: 2.809 MB / 0.9657 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.655, allocations: 17.03 kB / 0.9657 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.6552, allocations: 87.41 kB / 0.9658 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.6553, allocations: 56.12 kB / 0.9658 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002506/0.6578, allocations: 1.639 MB / 0.9674 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.6655, allocations: 10.48 MB / 0.9777 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.6656, allocations: 173.1 kB / 0.9778 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.6656, allocations: 80.14 kB / 0.9779 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.6657, allocations: 79.28 kB / 0.978 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6657, allocations: 113.8 kB / 0.9781 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.6657, allocations: 0 / 0.9781 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.000143/0.6659, allocations: 80.98 kB / 0.9782 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.6659, allocations: 130.7 kB / 0.9783 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.6668, allocations: 0.9126 MB / 0.9792 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.6669, allocations: 33.7 kB / 0.9792 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.6673, allocations: 0.8431 MB / 0.98 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.6673, allocations: 11.98 kB / 0.9801 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.6676, allocations: 271 kB / 0.9803 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6677, allocations: 374.8 kB / 0.9807 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.6679, allocations: 137.2 kB / 0.9808 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.6683, allocations: 0.5912 MB / 0.9814 GB, free: 336 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.6689, allocations: 0.7728 MB / 0.9821 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.6689, allocations: 4 kB / 0.9821 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008632/0.6698, allocations: 0.6927 MB / 0.9828 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6698, allocations: 12 kB / 0.9828 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.6699, allocations: 20.16 kB / 0.9828 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.6699, allocations: 24 kB / 0.9829 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6701, allocations: 91.7 kB / 0.983 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/0.6702, allocations: 35.86 kB / 0.983 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6704, allocations: 79.12 kB / 0.9831 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.6705, allocations: 40 kB / 0.9831 GB, free: 14.32 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.00088/0.6714, allocations: 0.7568 MB / 0.9838 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.6715, allocations: 164.2 kB / 0.984 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.559e-05/0.6716, allocations: 173.1 kB / 0.9842 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/0.6716, allocations: 180.3 kB / 0.9843 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-05/0.6717, allocations: 180.2 kB / 0.9845 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/0.6717, allocations: 184.2 kB / 0.9847 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.6731, allocations: 1.604 MB / 0.9863 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.6731, allocations: 117 kB / 0.9864 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.6732, allocations: 105 kB / 0.9865 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.992e-05/0.6732, allocations: 180.2 kB / 0.9866 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.6733, allocations: 176.3 kB / 0.9868 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.6734, allocations: 188.2 kB / 0.987 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-05/0.6734, allocations: 180.3 kB / 0.9872 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.6736, allocations: 355 kB / 0.9875 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.6737, allocations: 221.4 kB / 0.9877 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.6738, allocations: 184.2 kB / 0.9879 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.6739, allocations: 105 kB / 0.988 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.674, allocations: 184.2 kB / 0.9882 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/0.674, allocations: 101 kB / 0.9883 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004876/0.6745, allocations: 0.499 MB / 0.9887 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6745, allocations: 3.938 kB / 0.9887 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008116/0.6754, allocations: 329.3 kB / 0.9891 GB, free: 7.996 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.000428/0.6758, allocations: 0.8705 MB / 0.9899 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.6762, allocations: 287.4 kB / 0.9902 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6762, allocations: 0 / 0.9902 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/0.6762, allocations: 3.938 kB / 0.9902 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.6767, allocations: 0.4915 MB / 0.9907 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/0.6832, allocations: 6.944 MB / 0.9974 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/0.6842, allocations: 1.391 MB / 0.9988 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000448/0.6847, allocations: 296.5 kB / 0.9991 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.6852, allocations: 0.511 MB / 0.9996 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of SimCode: time 8.41e-07/0.6852, allocations: 0 / 0.9996 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.7151, allocations: 12.37 MB / 1.012 GB, free: 420 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.994, allocations: 5.812 kB / 1.012 GB, free: 416 kB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > 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