Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.005469/0.005469, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001337/0.001338, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.58 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002023/0.2259, allocations: 1.139 MB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2273, allocations: 1.381 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.2274, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.108e-05/0.2275, allocations: 23.67 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2276, allocations: 39.61 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.2282, allocations: 301.1 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.2286, allocations: 415.9 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2288, allocations: 126.2 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.2289, allocations: 155.5 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2291, allocations: 159.4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.2291, allocations: 44 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.2292, allocations: 67.86 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.2293, allocations: 59.78 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2294, allocations: 155.3 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.2298, allocations: 490.1 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2298, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2298, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2298, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 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.0007183/0.2306, allocations: 0.6149 MB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2306, allocations: 12.03 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.2306, allocations: 50.73 kB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.2307, allocations: 32.66 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.2313, allocations: 323.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.2313, allocations: 24.38 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.2314, allocations: 31.88 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2316, allocations: 173.5 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2317, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.2317, allocations: 8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2317, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2319, allocations: 111.9 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.2327, allocations: 0.6913 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.2331, allocations: 161.8 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2332, allocations: 72.77 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2332, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.2334, allocations: 123.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.2335, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0003827/0.2338, allocations: 218.7 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.2339, allocations: 67.28 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.234, allocations: 210.9 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.2341, allocations: 41.7 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.2342, allocations: 144.5 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2342, allocations: 51.58 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2344, allocations: 77.67 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.2345, allocations: 326.8 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2347, allocations: 99.94 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2349, allocations: 163.8 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2351, allocations: 209.5 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2351, allocations: 0 / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005137/0.2357, allocations: 360.6 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2357, allocations: 63.39 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2357, allocations: 7.938 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2357, allocations: 0 / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.2358, allocations: 27.86 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2358, allocations: 4 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.2362, allocations: 87.8 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.2363, allocations: 15.98 kB / 1.096 GB, free: 8.652 MB / 0.8575 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.000128/0.2364, allocations: 154.8 kB / 1.096 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2364, allocations: 19.75 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.2365, allocations: 25.86 kB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2365, allocations: 4 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2365, allocations: 4 kB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2365, allocations: 0 / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2367, allocations: 297.3 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2367, allocations: 7.969 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.2368, allocations: 12 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2368, allocations: 0 / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2368, allocations: 7.984 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2368, allocations: 7.984 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2368, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2371, allocations: 203 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.2371, allocations: 92.83 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.2372, allocations: 11.98 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.2373, allocations: 11.98 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.2374, allocations: 35.95 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2374, allocations: 4 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001052/0.2375, allocations: 148.4 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2375, allocations: 4 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002573/0.2377, allocations: 59.84 kB / 1.097 GB, free: 7.473 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: 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.0005086/0.2383, allocations: 0.7547 MB / 1.098 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2387, allocations: 343.7 kB / 1.098 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2387, allocations: 4 kB / 1.098 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2389, allocations: 79.91 kB / 1.099 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2391, allocations: 47.58 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2417, allocations: 2.42 MB / 1.101 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2419, allocations: 0.7479 MB / 1.102 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.78e-05/0.242, allocations: 25.94 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2421, allocations: 79.41 kB / 1.102 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.2421, allocations: 0 / 1.102 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5669/0.809, allocations: 5.436 MB / 1.107 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.084, allocations: 17.69 kB / 1.107 GB, free: 13.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches