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.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.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.001147/0.001147, 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.001103/0.001103, allocations: 197.8 kB / 16.14 MB, free: 6.645 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.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.32/2.32, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 68.27 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2131, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002068/0.2152, allocations: 1.209 MB / 1.053 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2167, allocations: 1.404 MB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.2168, allocations: 4 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.2169, allocations: 15.8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.217, allocations: 27.78 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.2176, allocations: 274.4 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2179, allocations: 355.9 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2181, allocations: 112.2 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.2182, allocations: 127.5 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.2184, allocations: 127.4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.2184, allocations: 20 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.2185, allocations: 35.98 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.2185, allocations: 51.72 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2187, allocations: 135.3 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.219, allocations: 450.9 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.219, allocations: 0 / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.219, allocations: 0 / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.219, allocations: 0 / 1.056 GB, free: 3.852 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.0007308/0.2198, allocations: 0.6149 MB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2198, allocations: 15.97 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.2199, allocations: 54.73 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.22, allocations: 32.66 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.2205, allocations: 331.7 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2206, allocations: 24.36 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.2206, allocations: 24.38 kB / 1.057 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.2209, allocations: 173.7 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2209, allocations: 3.984 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2209, allocations: 12 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2209, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.2211, allocations: 115.9 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008271/0.222, allocations: 0.6874 MB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.2223, allocations: 166.8 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.2224, allocations: 72.77 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.2224, allocations: 4.281 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.2227, allocations: 131.2 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.2227, allocations: 4 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0003675/0.223, allocations: 215 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2231, allocations: 63.41 kB / 1.059 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.2233, allocations: 218.7 kB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.2233, allocations: 45.69 kB / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.2234, allocations: 136.5 kB / 1.059 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.2234, allocations: 59.22 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.2236, allocations: 77.67 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.2237, allocations: 330.8 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2238, allocations: 96.03 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2241, allocations: 158.8 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.2243, allocations: 213.6 kB / 1.06 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2243, allocations: 0 / 1.06 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004936/0.2248, allocations: 358.2 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.2249, allocations: 67.33 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2249, allocations: 4 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.2249, allocations: 0 / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.225, allocations: 28.11 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.225, allocations: 3.938 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.2253, allocations: 75.77 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2254, allocations: 16.03 kB / 1.061 GB, free: 14.96 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.0001223/0.2255, allocations: 155.6 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2255, allocations: 23.66 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.2256, allocations: 29.8 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2256, allocations: 4 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2256, allocations: 3.938 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2256, allocations: 0 / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2258, allocations: 293.3 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2258, allocations: 0 / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.2259, allocations: 19.98 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2259, allocations: 3.938 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2259, allocations: 8 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2259, allocations: 0 / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2259, allocations: 0 / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.2262, allocations: 199.2 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.2262, allocations: 96.8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.2263, allocations: 11.98 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.2263, allocations: 16 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.2264, allocations: 31.94 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2264, allocations: 8 kB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.846e-05/0.2265, allocations: 144.4 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2265, allocations: 0 / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002558/0.2268, allocations: 67.75 kB / 1.062 GB, free: 13.78 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.0004856/0.2273, allocations: 0.7579 MB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.2277, allocations: 338.6 kB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2277, allocations: 0 / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.2279, allocations: 75.91 kB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2281, allocations: 46.59 kB / 1.063 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.2306, allocations: 2.484 MB / 1.066 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2309, allocations: 0.7443 MB / 1.066 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.753e-05/0.231, allocations: 25.94 kB / 1.066 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.2311, allocations: 71.41 kB / 1.066 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2311, allocations: 4 kB / 1.066 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5023/0.7334, allocations: 5.002 MB / 1.071 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.7336, allocations: 228.2 kB / 1.071 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.3, allocations: 0 / 1.071 GB, free: 3.969 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