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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 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.001275/0.001275, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.435/2.435, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 66.2 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2161, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator): time 0.002198/0.2183, allocations: 1.207 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.2188, allocations: 243.8 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2189, allocations: 11.88 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2192, allocations: 107.3 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2193, allocations: 71.72 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.2195, allocations: 79.89 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005608/0.22, allocations: 0.726 MB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.2217, allocations: 1.954 MB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.2221, allocations: 0.5533 MB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.2227, allocations: 0.6893 MB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.2229, allocations: 123.9 kB / 1.059 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.223, allocations: 120 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.2235, allocations: 0.7216 MB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.2241, allocations: 0.8198 MB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2255, allocations: 2.384 MB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2255, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2255, allocations: 0 / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.2256, allocations: 0 / 1.062 GB, free: 14.39 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.2271, allocations: 1.863 MB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2271, allocations: 8.625 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.2274, allocations: 327.5 kB / 1.065 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.2277, allocations: 194.6 kB / 1.065 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2288, allocations: 0.9455 MB / 1.066 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.2289, allocations: 152.5 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.2291, allocations: 200.4 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.232, allocations: 2.798 MB / 1.069 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.2321, allocations: 15.88 kB / 1.069 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.2322, allocations: 91.98 kB / 1.069 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.2323, allocations: 60 kB / 1.069 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.2342, allocations: 1.639 MB / 1.071 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.2402, allocations: 10.46 MB / 1.081 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.2403, allocations: 181 kB / 1.081 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.2403, allocations: 80.14 kB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2403, allocations: 75.28 kB / 1.081 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.2404, allocations: 113.8 kB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2404, allocations: 0 / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.661e-05/0.2405, allocations: 77.05 kB / 1.081 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2405, allocations: 126.7 kB / 1.081 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.2413, allocations: 0.9088 MB / 1.082 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2413, allocations: 29.69 kB / 1.082 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.2417, allocations: 0.8509 MB / 1.083 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.2417, allocations: 11.98 kB / 1.083 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.2419, allocations: 275 kB / 1.083 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.242, allocations: 374.8 kB / 1.084 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2422, allocations: 133.2 kB / 1.084 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.2426, allocations: 0.5873 MB / 1.084 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.2431, allocations: 0.7689 MB / 1.085 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2431, allocations: 8 kB / 1.085 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008138/0.244, allocations: 0.6998 MB / 1.086 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.244, allocations: 15.94 kB / 1.086 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.244, allocations: 16 kB / 1.086 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.244, allocations: 24.8 kB / 1.086 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.2442, allocations: 95.7 kB / 1.086 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.2442, allocations: 35.86 kB / 1.086 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.2445, allocations: 87.06 kB / 1.086 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.2445, allocations: 40 kB / 1.086 GB, free: 4.773 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.0006122/0.2452, allocations: 0.7607 MB / 1.087 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.2452, allocations: 152.3 kB / 1.087 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.2453, allocations: 173.2 kB / 1.087 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.2454, allocations: 184.3 kB / 1.087 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-05/0.2454, allocations: 180.3 kB / 1.088 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/0.2455, allocations: 184.2 kB / 1.088 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2467, allocations: 1.601 MB / 1.089 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/0.2467, allocations: 104.9 kB / 1.089 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.2467, allocations: 113 kB / 1.09 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.133e-05/0.2468, allocations: 176.3 kB / 1.09 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.2468, allocations: 180.2 kB / 1.09 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.292e-05/0.2469, allocations: 180.3 kB / 1.09 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.254e-05/0.2469, allocations: 184.2 kB / 1.09 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.2471, allocations: 359.1 kB / 1.091 GB, free: 116 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.2472, allocations: 225.3 kB / 1.091 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.2472, allocations: 180.3 kB / 1.091 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.2473, allocations: 108.9 kB / 1.091 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2474, allocations: 180.2 kB / 1.091 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.2474, allocations: 105.3 kB / 1.091 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004326/0.2478, allocations: 0.5067 MB / 1.092 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2478, allocations: 0 / 1.092 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006005/0.2485, allocations: 325.3 kB / 1.092 GB, free: 14.45 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.0003188/0.2488, allocations: 0.8628 MB / 1.093 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2491, allocations: 290.5 kB / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2491, allocations: 0 / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.2491, allocations: 4 kB / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2495, allocations: 496.1 kB / 1.094 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.2553, allocations: 6.948 MB / 1.101 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/0.2562, allocations: 1.395 MB / 1.102 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.2566, allocations: 296.5 kB / 1.102 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.257, allocations: 0.5101 MB / 1.103 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.257, allocations: 0 / 1.103 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.102/3.359, allocations: 12.36 MB / 1.115 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/13.54, allocations: 9.453 kB / 1.115 GB, free: 6.84 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