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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001202/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001196/0.001196, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.401/2.401, allocations: 461.8 MB / 0.7342 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 61.86 kB / 0.8985 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2392, allocations: 157.4 MB / 1.052 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002254/0.2415, allocations: 1.262 MB / 1.053 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.2419, allocations: 235.8 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.242, allocations: 7.938 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.2422, allocations: 99.41 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2424, allocations: 67.75 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.2425, allocations: 67.94 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.2431, allocations: 0.7689 MB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.2446, allocations: 1.911 MB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.2449, allocations: 462.7 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.2454, allocations: 0.6892 MB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.2456, allocations: 76 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2457, allocations: 72 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.2462, allocations: 0.6664 MB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.2467, allocations: 0.7377 MB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.2481, allocations: 2.321 MB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2481, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2481, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2482, allocations: 4 kB / 1.061 GB, free: 14.65 MB / 0.8262 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.001647/0.2498, allocations: 1.863 MB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2499, allocations: 12.03 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.2501, allocations: 311.5 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.2504, allocations: 194.6 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.2516, allocations: 0.9532 MB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.2516, allocations: 148.5 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.2518, allocations: 204.4 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.2549, allocations: 2.81 MB / 1.068 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.255, allocations: 15.81 kB / 1.068 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.2551, allocations: 88 kB / 1.068 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.2552, allocations: 56 kB / 1.068 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.2572, allocations: 1.639 MB / 1.069 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006229/0.2634, allocations: 10.47 MB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.2635, allocations: 173.1 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.2635, allocations: 84.14 kB / 1.08 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2636, allocations: 79.28 kB / 1.08 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.2636, allocations: 105.8 kB / 1.08 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.2636, allocations: 0 / 1.08 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.2637, allocations: 80.98 kB / 1.08 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.2638, allocations: 126.7 kB / 1.08 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.2645, allocations: 0.9166 MB / 1.081 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2645, allocations: 25.7 kB / 1.081 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.265, allocations: 0.8471 MB / 1.082 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.265, allocations: 12 kB / 1.082 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2652, allocations: 271 kB / 1.082 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2653, allocations: 374.8 kB / 1.083 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2655, allocations: 133.2 kB / 1.083 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.2658, allocations: 0.5912 MB / 1.083 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.2664, allocations: 0.7767 MB / 1.084 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2664, allocations: 7.938 kB / 1.084 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008175/0.2673, allocations: 0.7005 MB / 1.085 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2673, allocations: 16.06 kB / 1.085 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.2673, allocations: 20 kB / 1.085 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.2673, allocations: 20 kB / 1.085 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.2675, allocations: 91.72 kB / 1.085 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.2676, allocations: 31.86 kB / 1.085 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2678, allocations: 87.06 kB / 1.085 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.2679, allocations: 36 kB / 1.085 GB, free: 5.023 MB / 0.8419 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.0006655/0.2685, allocations: 0.7607 MB / 1.086 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.2686, allocations: 160.3 kB / 1.086 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.2687, allocations: 165.3 kB / 1.086 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/0.2687, allocations: 180.3 kB / 1.086 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.534e-05/0.2688, allocations: 184.2 kB / 1.087 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.211e-05/0.2688, allocations: 176.3 kB / 1.087 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.2701, allocations: 1.616 MB / 1.088 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/0.2701, allocations: 101 kB / 1.088 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.2701, allocations: 101 kB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-05/0.2702, allocations: 180.2 kB / 1.089 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.2702, allocations: 184.3 kB / 1.089 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.334e-05/0.2703, allocations: 184.2 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.355e-05/0.2703, allocations: 180.3 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2705, allocations: 359.3 kB / 1.09 GB, free: 372 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.2706, allocations: 225.3 kB / 1.09 GB, free: 120 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.2707, allocations: 184.2 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.2707, allocations: 108.9 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.2708, allocations: 184.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.2708, allocations: 101 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004256/0.2713, allocations: 0.499 MB / 1.091 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2713, allocations: 0 / 1.091 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006169/0.2719, allocations: 325.3 kB / 1.091 GB, free: 14.71 MB / 0.8575 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.0003332/0.2722, allocations: 0.8705 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2725, allocations: 286.9 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2726, allocations: 1 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.2726, allocations: 7.938 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.273, allocations: 0.5605 MB / 1.093 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.2796, allocations: 7.535 MB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/0.2804, allocations: 1.396 MB / 1.102 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.2808, allocations: 292.5 kB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.2812, allocations: 0.5071 MB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.2813, allocations: 4 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.4363, allocations: 12.17 MB / 1.114 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.4366, allocations: 248.8 kB / 1.114 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.338, allocations: 0 / 1.114 GB, free: 6.387 MB / 0.8731 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