Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7629 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.88 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.8789, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002463/0.8814, allocations: 1.175 MB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.8831, allocations: 1.37 MB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.8833, allocations: 3.156 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.372e-05/0.8833, allocations: 23.3 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.8835, allocations: 46.91 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006964/0.8842, allocations: 297 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.8845, allocations: 415.8 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.8847, allocations: 94.23 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.8849, allocations: 154.2 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.8851, allocations: 160.8 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.8851, allocations: 44.5 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.8853, allocations: 56.05 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.8853, allocations: 57.16 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.8855, allocations: 169.8 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.8859, allocations: 487.9 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8859, allocations: 0 / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8859, allocations: 3.938 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.8859, allocations: 0.9375 kB / 1.276 GB, free: 4.922 MB / 0.9981 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.0007632/0.8867, allocations: 0.6153 MB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8867, allocations: 9.125 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.8868, allocations: 52.56 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.8869, allocations: 39.98 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.8874, allocations: 324.3 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.8875, allocations: 22.36 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.8875, allocations: 25.47 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.8878, allocations: 180.8 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.8878, allocations: 0 / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.8878, allocations: 5.875 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.8878, allocations: 8.438 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.888, allocations: 112.5 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.8889, allocations: 0.6846 MB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.8893, allocations: 154.2 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.8894, allocations: 67.52 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.8894, allocations: 1.625 kB / 1.278 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.8897, allocations: 140.3 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.8897, allocations: 1.406 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004351/0.8901, allocations: 222.8 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.8901, allocations: 59.16 kB / 1.279 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.8903, allocations: 212 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.8904, allocations: 40.69 kB / 1.279 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.8905, allocations: 151.6 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.8905, allocations: 50.27 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.8906, allocations: 78.02 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.8907, allocations: 334.8 kB / 1.279 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8909, allocations: 100.9 kB / 1.279 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.8911, allocations: 167 kB / 1.28 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.8913, allocations: 215.2 kB / 1.28 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8913, allocations: 0 / 1.28 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005591/0.8919, allocations: 357.7 kB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.8919, allocations: 71.52 kB / 1.28 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8919, allocations: 1.828 kB / 1.28 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.892, allocations: 6.406 kB / 1.28 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.8921, allocations: 19.02 kB / 1.28 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8921, allocations: 2.219 kB / 1.28 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.8925, allocations: 80.86 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.8925, allocations: 13.8 kB / 1.28 GB, free: 1.758 MB / 0.9981 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.8926, allocations: 157.8 kB / 1.281 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.8927, allocations: 20.44 kB / 1.281 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.8927, allocations: 28.7 kB / 1.281 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8927, allocations: 1.562 kB / 1.281 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8927, allocations: 4.75 kB / 1.281 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8927, allocations: 1.406 kB / 1.281 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.893, allocations: 294.6 kB / 1.281 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.893, allocations: 4 kB / 1.281 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.8931, allocations: 22.38 kB / 1.281 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8931, allocations: 5.594 kB / 1.281 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.8931, allocations: 3.297 kB / 1.281 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8931, allocations: 0.625 kB / 1.281 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8931, allocations: 2.062 kB / 1.281 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.8933, allocations: 195.3 kB / 1.281 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.8934, allocations: 100.1 kB / 1.281 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.8934, allocations: 10.72 kB / 1.281 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.8935, allocations: 12.08 kB / 1.281 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.8936, allocations: 32.45 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.8936, allocations: 6.906 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000108/0.8937, allocations: 147.5 kB / 1.281 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8937, allocations: 0 / 1.281 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002854/0.894, allocations: 67.33 kB / 1.281 GB, free: 0.957 MB / 0.9981 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.0004393/0.8944, allocations: 0.7526 MB / 1.282 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.8949, allocations: 312.2 kB / 1.282 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8949, allocations: 0 / 1.282 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.895, allocations: 66.53 kB / 1.283 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.8953, allocations: 44.41 kB / 1.283 GB, free: 60 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.8984, allocations: 2.451 MB / 1.285 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.8987, allocations: 0.7451 MB / 1.286 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.945e-05/0.8988, allocations: 25.36 kB / 1.286 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.899, allocations: 72.77 kB / 1.286 GB, free: 13.56 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/0.899, allocations: 4.719 kB / 1.286 GB, free: 13.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.928, allocations: 5.451 MB / 1.291 GB, free: 12.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/9.033, allocations: 7.719 kB / 1.291 GB, free: 12.93 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.099505138990935]