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.0007725/0.0007725, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00525/0.00525, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.355/2.355, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8.75 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.001174/0.2219, allocations: 0.8847 MB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.2223, allocations: 239.8 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2224, allocations: 11.88 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.2226, allocations: 99.41 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.2228, allocations: 67.73 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.2229, allocations: 67.94 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.2236, allocations: 0.765 MB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.2251, allocations: 1.879 MB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2253, allocations: 210.8 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.2257, allocations: 394.1 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.2257, allocations: 12 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.2257, allocations: 12 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.2261, allocations: 0.5376 MB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.2265, allocations: 0.5911 MB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2279, allocations: 2.251 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.228, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.542e-06/0.228, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.513e-05/0.228, allocations: 4 kB / 1.067 GB, free: 12.79 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.001545/0.2296, allocations: 1.448 MB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2296, allocations: 8.031 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003223/0.2299, allocations: 319.5 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.2302, allocations: 202.5 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2313, allocations: 0.9494 MB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.2314, allocations: 152.5 kB / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2317, allocations: 200.4 kB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.2349, allocations: 2.806 MB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.2349, allocations: 11.88 kB / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.2351, allocations: 88 kB / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.2351, allocations: 56 kB / 1.073 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.2372, allocations: 1.643 MB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/0.2437, allocations: 10.46 MB / 1.085 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.2438, allocations: 177 kB / 1.085 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.2438, allocations: 84.14 kB / 1.085 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2438, allocations: 75.28 kB / 1.085 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2439, allocations: 113.8 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2439, allocations: 0 / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.725e-05/0.244, allocations: 84.95 kB / 1.085 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.244, allocations: 126.7 kB / 1.085 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.2448, allocations: 0.9126 MB / 1.086 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.2448, allocations: 25.7 kB / 1.086 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.2453, allocations: 0.8432 MB / 1.087 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.2453, allocations: 15.98 kB / 1.087 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.2455, allocations: 206.6 kB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2456, allocations: 370.8 kB / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2457, allocations: 141.2 kB / 1.088 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.2461, allocations: 0.5835 MB / 1.088 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.2467, allocations: 0.7766 MB / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.2468, allocations: 11.94 kB / 1.089 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000839/0.2476, allocations: 0.6964 MB / 1.09 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2476, allocations: 12 kB / 1.09 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.2477, allocations: 16 kB / 1.09 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2477, allocations: 20 kB / 1.09 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.2479, allocations: 91.77 kB / 1.09 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.2479, allocations: 31.86 kB / 1.09 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.2482, allocations: 87.06 kB / 1.09 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.2482, allocations: 40.34 kB / 1.09 GB, free: 3.637 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.000659/0.2489, allocations: 0.7607 MB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.249, allocations: 156.2 kB / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.249, allocations: 169.2 kB / 1.091 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.593e-05/0.2491, allocations: 184.2 kB / 1.091 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/0.2491, allocations: 176.3 kB / 1.091 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-05/0.2492, allocations: 188.2 kB / 1.091 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.2505, allocations: 1.605 MB / 1.093 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.2505, allocations: 104.9 kB / 1.093 GB, free: 204 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.2505, allocations: 101 kB / 1.093 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.428e-05/0.2506, allocations: 188.2 kB / 1.093 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.2507, allocations: 184.2 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.582e-05/0.2507, allocations: 180.3 kB / 1.094 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-05/0.2508, allocations: 184.2 kB / 1.094 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.2509, allocations: 351.1 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.251, allocations: 225.4 kB / 1.094 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.2511, allocations: 180.3 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.2512, allocations: 108.9 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2512, allocations: 180.6 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.2512, allocations: 105 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004405/0.2517, allocations: 0.4951 MB / 1.096 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2517, allocations: 3.938 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006429/0.2523, allocations: 337.3 kB / 1.096 GB, free: 13.31 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.000328/0.2527, allocations: 0.8705 MB / 1.097 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.253, allocations: 295.8 kB / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.253, allocations: 0 / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.253, allocations: 0 / 1.097 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2535, allocations: 0.5605 MB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/0.2603, allocations: 7.536 MB / 1.105 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/0.2612, allocations: 1.392 MB / 1.106 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000438/0.2617, allocations: 300.4 kB / 1.107 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.2621, allocations: 0.5071 MB / 1.107 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.2621, allocations: 0 / 1.107 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.615/1.877, allocations: 12.03 MB / 1.119 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/1.878, allocations: 238.2 kB / 1.119 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/3.876, allocations: 4.062 kB / 1.119 GB, free: 5.156 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