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.001652/0.001652, 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.001505/0.001505, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.182/1.182, 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 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5218, allocations: 140.4 MB / 0.9493 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001968/0.5238, allocations: 1.206 MB / 0.9504 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.525, allocations: 1.358 MB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.5251, allocations: 2.188 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.115e-05/0.5251, allocations: 16.83 kB / 0.9518 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.5253, allocations: 27.34 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.5258, allocations: 264.4 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.5261, allocations: 437.4 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.5263, allocations: 121.6 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.5264, allocations: 153.3 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.5266, allocations: 143.8 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.416e-05/0.5266, allocations: 49.12 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.5267, allocations: 59.48 kB / 0.953 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.5268, allocations: 60.7 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.5269, allocations: 162.8 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.5272, allocations: 482 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5272, allocations: 1.25 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5272, allocations: 0 / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5272, allocations: 0 / 0.9536 GB, free: 5.711 MB / 0.7169 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.0006467/0.5279, allocations: 0.6144 MB / 0.9542 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5279, allocations: 9.5 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.5279, allocations: 52.47 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.528, allocations: 34.78 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.5286, allocations: 327.8 kB / 0.9547 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.5286, allocations: 21.19 kB / 0.9547 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.5287, allocations: 31.94 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.5289, allocations: 171.7 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5289, allocations: 0 / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.529, allocations: 6.656 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.529, allocations: 4.344 kB / 0.9549 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.5292, allocations: 119.1 kB / 0.955 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007442/0.5299, allocations: 0.6897 MB / 0.9557 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.5303, allocations: 164.3 kB / 0.9558 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.5304, allocations: 66.58 kB / 0.9559 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.5304, allocations: 1.219 kB / 0.9559 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.5306, allocations: 144.4 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.5306, allocations: 0 / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003773/0.531, allocations: 225.1 kB / 0.9562 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.531, allocations: 57.59 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5312, allocations: 215.3 kB / 0.9565 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.5312, allocations: 35.48 kB / 0.9565 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.5313, allocations: 151.3 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.5313, allocations: 43.86 kB / 0.9567 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5314, allocations: 81.23 kB / 0.9568 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.5315, allocations: 330.5 kB / 0.9571 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.5317, allocations: 97.52 kB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.5319, allocations: 157.8 kB / 0.9574 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5321, allocations: 218.1 kB / 0.9576 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5321, allocations: 4 kB / 0.9576 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004679/0.5326, allocations: 361.8 kB / 0.9579 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.5326, allocations: 69.02 kB / 0.958 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5326, allocations: 5.5 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5326, allocations: 1.375 kB / 0.958 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.5327, allocations: 21.62 kB / 0.958 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5327, allocations: 1.375 kB / 0.958 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.5331, allocations: 79.75 kB / 0.9581 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.5331, allocations: 15 kB / 0.9581 GB, free: 2.098 MB / 0.7169 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.0001095/0.5332, allocations: 155.3 kB / 0.9582 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.5333, allocations: 25.75 kB / 0.9583 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.5333, allocations: 20.56 kB / 0.9583 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5333, allocations: 2.969 kB / 0.9583 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5333, allocations: 3.984 kB / 0.9583 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5333, allocations: 0.9688 kB / 0.9583 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.5335, allocations: 301.6 kB / 0.9586 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5335, allocations: 0 / 0.9586 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.5336, allocations: 19.67 kB / 0.9586 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5336, allocations: 1.438 kB / 0.9586 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5336, allocations: 5.625 kB / 0.9586 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5336, allocations: 1.656 kB / 0.9586 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5336, allocations: 0 / 0.9586 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.5339, allocations: 209 kB / 0.9588 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.5339, allocations: 98.42 kB / 0.9589 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.5339, allocations: 6.062 kB / 0.9589 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.534, allocations: 10.98 kB / 0.9589 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.5341, allocations: 34.36 kB / 0.959 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.5341, allocations: 8.328 kB / 0.959 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.5342, allocations: 142.1 kB / 0.9591 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5342, allocations: 0 / 0.9591 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002667/0.5345, allocations: 59.16 kB / 0.9592 GB, free: 1.207 MB / 0.7169 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.0004065/0.5349, allocations: 0.7583 MB / 0.9599 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.5353, allocations: 348.1 kB / 0.9602 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5353, allocations: 0 / 0.9602 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.5355, allocations: 81.95 kB / 0.9603 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.5357, allocations: 43.58 kB / 0.9603 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.5385, allocations: 2.481 MB / 0.9628 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.5388, allocations: 0.7509 MB / 0.9635 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.13e-05/0.5389, allocations: 27.7 kB / 0.9635 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.539, allocations: 76.5 kB / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.539, allocations: 0 / 0.9636 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5469/1.086, allocations: 5.168 MB / 0.9686 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/1.086, allocations: 223.8 kB / 0.9689 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.879, allocations: 1.156 kB / 0.9689 GB, free: 10.77 MB / 0.7325 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