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.009072/0.009072, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.00213/0.00213, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.511/1.511, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.91 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002664/0.3057, allocations: 1.212 MB / 1.208 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006062/0.3063, allocations: 235.8 kB / 1.209 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3065, allocations: 7.938 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.3068, allocations: 115.3 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.307, allocations: 67.73 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3072, allocations: 79.89 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.3079, allocations: 0.7376 MB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.3099, allocations: 1.954 MB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.3104, allocations: 0.5494 MB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.3112, allocations: 0.6893 MB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.3115, allocations: 116 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.3117, allocations: 119.9 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006763/0.3124, allocations: 0.7327 MB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3134, allocations: 0.8237 MB / 1.215 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.3156, allocations: 2.492 MB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3156, allocations: 4 kB / 1.217 GB, free: 188 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3156, allocations: 3.938 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.63e-05/0.3157, allocations: 0 / 1.217 GB, free: 184 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.002921/0.3186, allocations: 1.862 MB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3187, allocations: 16.62 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006438/0.3193, allocations: 311.5 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.3198, allocations: 194.6 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.322, allocations: 0.9532 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3221, allocations: 148.5 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.3224, allocations: 196.4 kB / 1.221 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.3267, allocations: 2.802 MB / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.3268, allocations: 19.81 kB / 1.223 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.327, allocations: 92 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.327, allocations: 56 kB / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.3295, allocations: 1.635 MB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.3399, allocations: 10.47 MB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.34, allocations: 169.1 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.3401, allocations: 84.08 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.25e-05/0.3401, allocations: 87.22 kB / 1.236 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.3402, allocations: 109.8 kB / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/0.3402, allocations: 0 / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.3404, allocations: 77.05 kB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3405, allocations: 126.7 kB / 1.236 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.3416, allocations: 0.9165 MB / 1.237 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3417, allocations: 25.7 kB / 1.237 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/0.3423, allocations: 0.8472 MB / 1.238 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3423, allocations: 19.92 kB / 1.238 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.3426, allocations: 271 kB / 1.238 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3428, allocations: 374.8 kB / 1.238 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.343, allocations: 133.2 kB / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.3435, allocations: 0.5834 MB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.3443, allocations: 0.7767 MB / 1.24 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.3443, allocations: 4 kB / 1.24 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00111/0.3455, allocations: 0.7006 MB / 1.24 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.3455, allocations: 15.94 kB / 1.24 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.3455, allocations: 20 kB / 1.24 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.505e-05/0.3456, allocations: 24.03 kB / 1.24 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3458, allocations: 83.78 kB / 1.241 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/0.3458, allocations: 31.86 kB / 1.241 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.3462, allocations: 91.06 kB / 1.241 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.3463, allocations: 36 kB / 1.241 GB, free: 6.562 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.0009362/0.3472, allocations: 0.7607 MB / 1.241 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3473, allocations: 156.3 kB / 1.242 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.3475, allocations: 169.3 kB / 1.242 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-05/0.3476, allocations: 184.2 kB / 1.242 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-05/0.3476, allocations: 180.2 kB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.033e-05/0.3477, allocations: 188.2 kB / 1.242 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.3496, allocations: 1.605 MB / 1.244 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.612e-05/0.3497, allocations: 105 kB / 1.244 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3497, allocations: 104.9 kB / 1.244 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.3498, allocations: 176.3 kB / 1.244 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/0.3498, allocations: 184.2 kB / 1.244 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.637e-05/0.3499, allocations: 180.2 kB / 1.245 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.343e-05/0.35, allocations: 180.2 kB / 1.245 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3502, allocations: 371 kB / 1.245 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3504, allocations: 225.6 kB / 1.245 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.967e-05/0.3505, allocations: 180.3 kB / 1.245 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3506, allocations: 101 kB / 1.246 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3507, allocations: 192.2 kB / 1.246 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.3507, allocations: 101 kB / 1.246 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000576/0.3513, allocations: 0.4951 MB / 1.246 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3513, allocations: 0 / 1.246 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001019/0.3524, allocations: 333.3 kB / 1.247 GB, free: 240 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.5713/0.9236, allocations: 0.8563 MB / 1.247 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.9243, allocations: 299.8 kB / 1.248 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9243, allocations: 1.062 kB / 1.248 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.9243, allocations: 2.156 kB / 1.248 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.9248, allocations: 0.4921 MB / 1.248 GB, free: 36.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.9321, allocations: 6.828 MB / 1.255 GB, free: 33.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.9329, allocations: 1.392 MB / 1.256 GB, free: 32.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.9334, allocations: 291.8 kB / 1.257 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.9338, allocations: 0.5084 MB / 1.257 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.9338, allocations: 4 kB / 1.257 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.9733, allocations: 12.64 MB / 1.269 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/9.484, allocations: 4.156 kB / 1.269 GB, free: 31.39 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