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.001819/0.001819, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.002133/0.002133, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.529/1.529, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.766/2.766, allocations: 469.8 MB / 0.749 GB, free: 3.023 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.001948/0.001948, allocations: 67.88 kB / 1.073 GB, free: 168 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9081, allocations: 159.1 MB / 1.229 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002465/0.9106, allocations: 1.144 MB / 1.23 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.9126, allocations: 1.374 MB / 1.231 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.9127, allocations: 4 kB / 1.231 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.9128, allocations: 31.61 kB / 1.231 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.913, allocations: 43.58 kB / 1.231 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.9137, allocations: 299.4 kB / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.9142, allocations: 427.9 kB / 1.232 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.9144, allocations: 112.2 kB / 1.232 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.9146, allocations: 155.5 kB / 1.232 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.9149, allocations: 159.3 kB / 1.232 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.9149, allocations: 48 kB / 1.232 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.9151, allocations: 59.98 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.9151, allocations: 63.72 kB / 1.232 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.9153, allocations: 163.3 kB / 1.233 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.9158, allocations: 484.1 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9159, allocations: 4 kB / 1.233 GB, free: 288 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9159, allocations: 0 / 1.233 GB, free: 288 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.9159, allocations: 0 / 1.233 GB, free: 288 kB / 0.9356 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.0009085/0.9168, allocations: 0.6186 MB / 1.234 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.9168, allocations: 8.031 kB / 1.234 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.9169, allocations: 58.66 kB / 1.234 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.917, allocations: 40.75 kB / 1.234 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.9177, allocations: 328 kB / 1.234 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.9177, allocations: 16.38 kB / 1.234 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.9178, allocations: 28.38 kB / 1.234 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.9181, allocations: 181.6 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9182, allocations: 0 / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.9182, allocations: 4 kB / 1.234 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.9182, allocations: 8 kB / 1.234 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.9184, allocations: 115.9 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9195, allocations: 0.6875 MB / 1.235 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.9199, allocations: 166.8 kB / 1.235 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.92, allocations: 64.84 kB / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.9201, allocations: 4 kB / 1.235 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.9203, allocations: 141.5 kB / 1.235 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 3.607e-06/0.9204, allocations: 3.984 kB / 1.235 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004516/0.9208, allocations: 213.5 kB / 1.236 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.9209, allocations: 63.34 kB / 1.236 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.9211, allocations: 222.6 kB / 1.236 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.9212, allocations: 37.7 kB / 1.236 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.9213, allocations: 144.8 kB / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.9214, allocations: 51.62 kB / 1.236 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.9215, allocations: 81.61 kB / 1.236 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.9217, allocations: 338.8 kB / 1.237 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.9219, allocations: 99.95 kB / 1.237 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.9222, allocations: 155.5 kB / 1.237 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.9225, allocations: 226.6 kB / 1.237 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9225, allocations: 0 / 1.237 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000598/0.9231, allocations: 356.7 kB / 1.237 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.9232, allocations: 63.34 kB / 1.237 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9232, allocations: 4 kB / 1.237 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9232, allocations: 4.125 kB / 1.237 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.9233, allocations: 23.92 kB / 1.237 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.9233, allocations: 0 / 1.237 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.9237, allocations: 79.77 kB / 1.238 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.9238, allocations: 23.92 kB / 1.238 GB, free: 11.37 MB / 0.9512 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.0001684/0.924, allocations: 150.9 kB / 1.238 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.924, allocations: 27.77 kB / 1.238 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.9241, allocations: 25.88 kB / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.9241, allocations: 4 kB / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9241, allocations: 0 / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.9241, allocations: 3.984 kB / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.9244, allocations: 293.4 kB / 1.238 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.9244, allocations: 0 / 1.238 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.9245, allocations: 16 kB / 1.238 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.9245, allocations: 3.938 kB / 1.238 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.9245, allocations: 11.98 kB / 1.238 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9245, allocations: 0 / 1.238 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9245, allocations: 4 kB / 1.238 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.9248, allocations: 198.9 kB / 1.238 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.9249, allocations: 96.94 kB / 1.238 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.925, allocations: 8 kB / 1.238 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.9251, allocations: 19.98 kB / 1.238 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.9251, allocations: 27.95 kB / 1.238 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.9252, allocations: 8 kB / 1.238 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001346/0.9253, allocations: 148.4 kB / 1.239 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9253, allocations: 0 / 1.239 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002858/0.9256, allocations: 63.84 kB / 1.239 GB, free: 10.19 MB / 0.9512 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.0007617/0.9264, allocations: 0.7639 MB / 1.239 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.9269, allocations: 334.6 kB / 1.24 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9269, allocations: 0 / 1.24 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.9271, allocations: 79.91 kB / 1.24 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.9274, allocations: 44.16 kB / 1.24 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.9306, allocations: 2.436 MB / 1.242 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.931, allocations: 0.7441 MB / 1.243 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.511e-05/0.9311, allocations: 21.94 kB / 1.243 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.9312, allocations: 75.41 kB / 1.243 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.9312, allocations: 4 kB / 1.243 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.9596, allocations: 5.445 MB / 1.248 GB, free: 248 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.317, allocations: 9.5 kB / 1.248 GB, free: 244 kB / 0.9512 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.46171607892029]