Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.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.ZoneGroupSystem,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",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.00119/0.00119, 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.001131/0.001131, allocations: 195 kB / 16.14 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.314/2.314, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 68.56 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2205, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001872/0.2224, allocations: 0.9893 MB / 1.053 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2237, allocations: 1.307 MB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2238, allocations: 0 / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2239, allocations: 7.938 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.2239, allocations: 27.78 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.2245, allocations: 225.7 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.2247, allocations: 247.5 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2248, allocations: 86.06 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.2249, allocations: 95.69 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.225, allocations: 87.64 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.225, allocations: 12 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.2251, allocations: 27.98 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.2252, allocations: 35.78 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.2253, allocations: 95.56 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2255, allocations: 315.4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2256, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2256, allocations: 3.984 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2256, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005559/0.2261, allocations: 0.51 MB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2262, allocations: 15.97 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.2262, allocations: 50.72 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.2263, allocations: 20.75 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.2268, allocations: 284.7 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2268, allocations: 12.38 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2269, allocations: 20.38 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.2271, allocations: 127.5 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.2271, allocations: 3.938 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2271, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2271, allocations: 7.938 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2273, allocations: 91.94 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.228, allocations: 0.5811 MB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2282, allocations: 106.7 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.2283, allocations: 32.78 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2283, allocations: 7.984 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.2284, allocations: 99.3 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.2285, allocations: 0 / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000299/0.2288, allocations: 169.4 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.2288, allocations: 59.34 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2289, allocations: 175.8 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.229, allocations: 33.7 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.229, allocations: 128.2 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2291, allocations: 27.61 kB / 1.058 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2292, allocations: 65.62 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.2293, allocations: 330.8 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2294, allocations: 75.95 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2296, allocations: 130 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.2298, allocations: 219.7 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2299, allocations: 4 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004548/0.2303, allocations: 320.7 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.2304, allocations: 67.39 kB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2304, allocations: 192 / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2304, allocations: 8 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.2305, allocations: 19.92 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2305, allocations: 4 kB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.2308, allocations: 55.84 kB / 1.059 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.2308, allocations: 12 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,groTwo.booPul.y,$PRE.groTwo.booPul.y,groOne.booPul.y,$PRE.groOne.booPul.y,ahuMod.yAhuOpeMod,ahuMod.uOpeMod[2],ahuMod.uOpeMod[1],groThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001171/0.2309, allocations: 155 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.231, allocations: 15.75 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.2312, allocations: 151.3 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2312, allocations: 4 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2312, allocations: 0 / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2312, allocations: 3.984 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2314, allocations: 229.6 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2314, allocations: 3.938 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.2315, allocations: 15.98 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2315, allocations: 3.938 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2315, allocations: 4 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2315, allocations: 4.078 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2315, allocations: 3.938 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.2317, allocations: 152.9 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.2317, allocations: 92.86 kB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.2318, allocations: 7.984 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.2318, allocations: 11.94 kB / 1.06 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.2319, allocations: 11.98 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2319, allocations: 4 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.232, allocations: 124.2 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.232, allocations: 0 / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002379/0.2322, allocations: 47.92 kB / 1.06 GB, free: 15.42 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ahuMod.uOpeMod[1],ahuMod.uOpeMod[2],ahuMod.yAhuOpeMod,groOne.booPul.y,groTwo.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004239/0.2327, allocations: 0.715 MB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.233, allocations: 286.6 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.233, allocations: 3.938 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.2331, allocations: 47.97 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2334, allocations: 40.34 kB / 1.061 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.2355, allocations: 2.151 MB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2357, allocations: 0.7204 MB / 1.064 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.155e-05/0.2358, allocations: 33.39 kB / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.2358, allocations: 43.42 kB / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2359, allocations: 0 / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/0.6222, allocations: 4.066 MB / 1.068 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.6225, allocations: 233.2 kB / 1.069 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.198, allocations: 0 / 1.069 GB, free: 7.043 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches