Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_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.007394/0.007394, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001799/0.001799, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.788/2.788, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002497/0.3254, allocations: 1.206 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006082/0.326, allocations: 235.8 kB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3262, allocations: 15.88 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3264, allocations: 115.3 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.3267, allocations: 71.72 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.3269, allocations: 79.91 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007068/0.3276, allocations: 0.7298 MB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.3296, allocations: 1.961 MB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.3302, allocations: 0.5456 MB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.3309, allocations: 0.6893 MB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.3311, allocations: 116 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.3314, allocations: 116 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.332, allocations: 0.7288 MB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008903/0.3329, allocations: 0.8276 MB / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.3348, allocations: 2.499 MB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3349, allocations: 7.875 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3349, allocations: 4 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.669e-05/0.3349, allocations: 4 kB / 1.217 GB, free: 100 kB / 0.9669 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.002664/0.3376, allocations: 1.858 MB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3377, allocations: 8.625 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004496/0.3381, allocations: 315.5 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.3384, allocations: 194.6 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.3398, allocations: 0.9494 MB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3399, allocations: 160.4 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.3402, allocations: 196.4 kB / 1.221 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.3438, allocations: 2.806 MB / 1.223 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.3439, allocations: 15.81 kB / 1.223 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.3441, allocations: 92 kB / 1.223 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.3441, allocations: 56 kB / 1.223 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.3465, allocations: 1.639 MB / 1.225 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008427/0.3549, allocations: 10.46 MB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3551, allocations: 180.9 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3551, allocations: 84.14 kB / 1.236 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3552, allocations: 75.28 kB / 1.236 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/0.3552, allocations: 109.8 kB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.3553, allocations: 0 / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001612/0.3554, allocations: 80.98 kB / 1.236 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.3555, allocations: 130.7 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.3565, allocations: 0.9204 MB / 1.237 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3566, allocations: 25.7 kB / 1.237 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.3571, allocations: 0.8393 MB / 1.238 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.3571, allocations: 11.98 kB / 1.238 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.3574, allocations: 275 kB / 1.238 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3576, allocations: 374.8 kB / 1.238 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3577, allocations: 133.2 kB / 1.238 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.3582, allocations: 0.5873 MB / 1.239 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.3589, allocations: 0.7767 MB / 1.24 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.3589, allocations: 8 kB / 1.24 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009729/0.3599, allocations: 0.7006 MB / 1.24 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.36, allocations: 12 kB / 1.24 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.36, allocations: 16 kB / 1.24 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.36, allocations: 24 kB / 1.24 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3603, allocations: 87.7 kB / 1.241 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/0.3603, allocations: 31.92 kB / 1.241 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3606, allocations: 87.06 kB / 1.241 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3606, allocations: 40 kB / 1.241 GB, free: 6.477 MB / 0.9981 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.0009111/0.3616, allocations: 0.7607 MB / 1.241 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3616, allocations: 156.3 kB / 1.242 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.3618, allocations: 173.2 kB / 1.242 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/0.3618, allocations: 176.3 kB / 1.242 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/0.3619, allocations: 184.2 kB / 1.242 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/0.3619, allocations: 176.3 kB / 1.242 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.3634, allocations: 1.612 MB / 1.244 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.3635, allocations: 101 kB / 1.244 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.3635, allocations: 109 kB / 1.244 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-05/0.3636, allocations: 180.2 kB / 1.244 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.3637, allocations: 180.3 kB / 1.244 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.566e-05/0.3637, allocations: 184.1 kB / 1.245 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.658e-05/0.3638, allocations: 180.3 kB / 1.245 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.364, allocations: 370.9 kB / 1.245 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3641, allocations: 217.7 kB / 1.245 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.3642, allocations: 180.2 kB / 1.245 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.3643, allocations: 109 kB / 1.246 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.3643, allocations: 184.3 kB / 1.246 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.3644, allocations: 108.9 kB / 1.246 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004895/0.3649, allocations: 0.4951 MB / 1.246 GB, free: 488 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3649, allocations: 0 / 1.246 GB, free: 488 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000811/0.3657, allocations: 325.3 kB / 1.247 GB, free: 160 kB / 0.9981 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.6915/1.057, allocations: 0.8624 MB / 1.247 GB, free: 37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006066/1.058, allocations: 294.3 kB / 1.248 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.058, allocations: 0.5 kB / 1.248 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/1.058, allocations: 4.094 kB / 1.248 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/1.058, allocations: 497.7 kB / 1.248 GB, free: 36.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008341/1.067, allocations: 6.824 MB / 1.255 GB, free: 33.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/1.068, allocations: 1.396 MB / 1.256 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004962/1.068, allocations: 295.8 kB / 1.257 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.069, allocations: 0.5067 MB / 1.257 GB, free: 32.37 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/1.069, allocations: 0 / 1.257 GB, free: 32.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/1.113, allocations: 12.6 MB / 1.269 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/9.699, allocations: 7.078 kB / 1.269 GB, free: 31.18 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches