Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",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.001698/0.001698, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001975/0.001975, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.301/2.301, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.77 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2022, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001912/0.2041, allocations: 1.215 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2054, allocations: 1.365 MB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.2055, allocations: 4 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.2055, allocations: 11.86 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2056, allocations: 31.72 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.2062, allocations: 266.1 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.2065, allocations: 423.9 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2066, allocations: 121.7 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2068, allocations: 163.5 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2069, allocations: 135.4 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.2069, allocations: 44 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.207, allocations: 63.92 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.2071, allocations: 75.69 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2072, allocations: 151.4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2075, allocations: 474.9 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.2075, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2075, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2076, allocations: 4 kB / 1.057 GB, free: 4.109 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006563/0.2082, allocations: 0.6198 MB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.2082, allocations: 8.625 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.2083, allocations: 50.73 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.2084, allocations: 32.66 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.2089, allocations: 331.7 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.2089, allocations: 20.38 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.209, allocations: 28.38 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.2092, allocations: 173.7 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2093, allocations: 0 / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2093, allocations: 8 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2093, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.2095, allocations: 112 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.2102, allocations: 0.6952 MB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.2105, allocations: 166.8 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.2106, allocations: 68.83 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2107, allocations: 4.281 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.2109, allocations: 135.3 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2109, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0003526/0.2112, allocations: 216.2 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2113, allocations: 51.41 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2114, allocations: 226.7 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2115, allocations: 41.7 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.2116, allocations: 144.5 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.2116, allocations: 47.3 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.2117, allocations: 77.67 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2118, allocations: 330.8 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.212, allocations: 103.9 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2122, allocations: 175.3 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.2125, allocations: 206 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2125, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004876/0.213, allocations: 356.6 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.2131, allocations: 80.67 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2131, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2131, allocations: 4 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.2132, allocations: 15.98 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.2132, allocations: 3.938 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2135, allocations: 79.89 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.2135, allocations: 19.98 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001347/0.2137, allocations: 144.5 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.2137, allocations: 27.59 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.2138, allocations: 29.86 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2138, allocations: 4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2138, allocations: 4 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2138, allocations: 0 / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.214, allocations: 297.4 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.214, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.2141, allocations: 15.94 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2141, allocations: 3.938 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2141, allocations: 7.984 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2141, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2141, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2144, allocations: 202.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2144, allocations: 100.8 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.2145, allocations: 8 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.2145, allocations: 11.98 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.2146, allocations: 31.95 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2146, allocations: 8 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.2147, allocations: 144.4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2147, allocations: 4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.215, allocations: 67.75 kB / 1.062 GB, free: 14.04 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.000471/0.2155, allocations: 0.755 MB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.2159, allocations: 350.6 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2159, allocations: 0 / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.216, allocations: 83.91 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2163, allocations: 43.69 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.2187, allocations: 2.477 MB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2189, allocations: 0.7363 MB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.398e-05/0.219, allocations: 29.94 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.2191, allocations: 75.41 kB / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2191, allocations: 0 / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.543/6.762, allocations: 5.173 MB / 1.072 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/6.762, allocations: 239.4 kB / 1.072 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/8.51, allocations: 0 / 1.072 GB, free: 4.062 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches