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.009966/0.009966, allocations: 101.3 kB / 15.73 MB, free: 6.031 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.0021/0.0021, allocations: 198.3 kB / 16.67 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002443/0.3209, allocations: 1.162 MB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.323, allocations: 1.377 MB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3232, allocations: 4 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.675e-05/0.3233, allocations: 27.67 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3234, allocations: 39.59 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.3242, allocations: 296.3 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.3247, allocations: 419.9 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.325, allocations: 120.2 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3252, allocations: 159.5 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3255, allocations: 155.3 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.113e-05/0.3256, allocations: 48 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3257, allocations: 63.98 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.3257, allocations: 55.78 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3259, allocations: 171.3 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.3265, allocations: 478.8 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3265, allocations: 0 / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3265, allocations: 3.938 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.3265, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 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.0009772/0.3275, allocations: 0.6149 MB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3275, allocations: 8.625 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.412e-05/0.3276, allocations: 54.72 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.3277, allocations: 36.56 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.3284, allocations: 319.9 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3284, allocations: 20.38 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.3285, allocations: 28.38 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3288, allocations: 173.6 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3288, allocations: 0 / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.3288, allocations: 15.88 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3288, allocations: 12 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.3291, allocations: 108 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3301, allocations: 0.6874 MB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.3305, allocations: 163.5 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.3306, allocations: 68.84 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3307, allocations: 288 / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.3309, allocations: 132.2 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.532e-06/0.3309, allocations: 4 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004269/0.3314, allocations: 218.5 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.3314, allocations: 59.41 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3316, allocations: 218.8 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.3317, allocations: 41.7 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3318, allocations: 144.4 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.3318, allocations: 47.39 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.332, allocations: 77.67 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3321, allocations: 334.8 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.3323, allocations: 104 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.3326, allocations: 155.6 kB / 1.215 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.3329, allocations: 221.7 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.3329, allocations: 8 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005756/0.3335, allocations: 350 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.3335, allocations: 71.34 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3335, allocations: 0 / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3336, allocations: 0 / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.3337, allocations: 28.05 kB / 1.216 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3337, allocations: 3.938 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.3341, allocations: 75.77 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3341, allocations: 15.98 kB / 1.216 GB, free: 0.6875 MB / 0.9669 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.0001666/0.3343, allocations: 159.6 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3343, allocations: 23.73 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.3344, allocations: 21.88 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3344, allocations: 4 kB / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3344, allocations: 0 / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3344, allocations: 0 / 1.216 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3347, allocations: 293.4 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3347, allocations: 0 / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.3348, allocations: 23.94 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3348, allocations: 3.938 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3349, allocations: 7.984 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3349, allocations: 0 / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3349, allocations: 0 / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.3352, allocations: 194 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.3353, allocations: 108.7 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.3353, allocations: 8 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.3354, allocations: 15.98 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/0.3355, allocations: 31.95 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3355, allocations: 4 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001135/0.3356, allocations: 148.4 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3356, allocations: 0 / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002898/0.3359, allocations: 59.84 kB / 1.217 GB, free: 15.51 MB / 0.9825 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.0006531/0.3366, allocations: 0.7647 MB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3371, allocations: 334.6 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3371, allocations: 0 / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3372, allocations: 79.91 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3376, allocations: 44.23 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3407, allocations: 2.444 MB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3412, allocations: 0.7363 MB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.3413, allocations: 29.94 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3414, allocations: 75.41 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3414, allocations: 3.938 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3662, allocations: 5.566 MB / 1.227 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.392, allocations: 21.45 kB / 1.227 GB, free: 5.41 MB / 0.9825 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