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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 106.3 kB / 16.45 MB, free: 6.035 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.002028/0.002028, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.174/3.174, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 70.69 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 173.9 MB / 1.304 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002969/0.3554, allocations: 1.152 MB / 1.305 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.3578, allocations: 1.388 MB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.358, allocations: 0 / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3581, allocations: 23.67 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.3584, allocations: 47.59 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.3593, allocations: 290.7 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006221/0.3599, allocations: 419.8 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3602, allocations: 92.16 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.3604, allocations: 159.5 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3607, allocations: 151.4 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.3607, allocations: 48 kB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3608, allocations: 59.98 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.3609, allocations: 63.77 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3611, allocations: 159.3 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.3618, allocations: 494.5 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3618, allocations: 0 / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3618, allocations: 0 / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3618, allocations: 0 / 1.308 GB, free: 13 MB / 1.014 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.0009924/0.3628, allocations: 0.6147 MB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3628, allocations: 12.92 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.3629, allocations: 50.73 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.363, allocations: 32.8 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.3637, allocations: 331.7 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.3637, allocations: 28.36 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3638, allocations: 24.38 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3641, allocations: 169.7 kB / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3641, allocations: 0 / 1.31 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3641, allocations: 7.984 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3641, allocations: 4 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.3644, allocations: 112 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3655, allocations: 0.6913 MB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3659, allocations: 158.8 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.366, allocations: 64.83 kB / 1.311 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3661, allocations: 8 kB / 1.311 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.3664, allocations: 135.3 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.3664, allocations: 0 / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0005023/0.3669, allocations: 218.8 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.367, allocations: 59.41 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.3672, allocations: 218.7 kB / 1.311 GB, free: 9.867 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.3673, allocations: 45.69 kB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3674, allocations: 148.7 kB / 1.311 GB, free: 9.668 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.3675, allocations: 47.64 kB / 1.311 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3676, allocations: 77.67 kB / 1.312 GB, free: 9.539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3678, allocations: 330.8 kB / 1.312 GB, free: 9.207 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.368, allocations: 103.9 kB / 1.312 GB, free: 9.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3683, allocations: 159.8 kB / 1.312 GB, free: 8.926 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3686, allocations: 209.1 kB / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3686, allocations: 0 / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006309/0.3692, allocations: 374.6 kB / 1.313 GB, free: 8.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.3693, allocations: 71.33 kB / 1.313 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3693, allocations: 0 / 1.313 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3693, allocations: 4 kB / 1.313 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.3694, allocations: 15.98 kB / 1.313 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3694, allocations: 7.938 kB / 1.313 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.3698, allocations: 75.94 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3698, allocations: 15.98 kB / 1.313 GB, free: 8.117 MB / 1.014 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.0002037/0.37, allocations: 151.5 kB / 1.313 GB, free: 7.961 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3701, allocations: 27.8 kB / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.3701, allocations: 29.86 kB / 1.313 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3701, allocations: 0 / 1.313 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3702, allocations: 0 / 1.313 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3702, allocations: 0 / 1.313 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.3705, allocations: 285.5 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3705, allocations: 4 kB / 1.313 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.3705, allocations: 19.92 kB / 1.313 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3706, allocations: 7.938 kB / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3706, allocations: 0 / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3706, allocations: 0 / 1.313 GB, free: 7.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3706, allocations: 4 kB / 1.313 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.3709, allocations: 202.4 kB / 1.314 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.371, allocations: 108.8 kB / 1.314 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.371, allocations: 7.938 kB / 1.314 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.3711, allocations: 15.92 kB / 1.314 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.3712, allocations: 35.95 kB / 1.314 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3712, allocations: 7.984 kB / 1.314 GB, free: 7.137 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001378/0.3713, allocations: 144.6 kB / 1.314 GB, free: 6.996 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3713, allocations: 4 kB / 1.314 GB, free: 6.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003154/0.3716, allocations: 59.89 kB / 1.314 GB, free: 6.934 MB / 1.014 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.0007812/0.3724, allocations: 0.7467 MB / 1.315 GB, free: 6.156 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005693/0.373, allocations: 315.5 kB / 1.315 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.373, allocations: 0 / 1.315 GB, free: 5.824 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3731, allocations: 63.92 kB / 1.315 GB, free: 5.762 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3735, allocations: 41.86 kB / 1.315 GB, free: 5.723 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.377, allocations: 2.44 MB / 1.317 GB, free: 3.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3774, allocations: 0.7557 MB / 1.318 GB, free: 2.383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000107/0.3775, allocations: 25.94 kB / 1.318 GB, free: 2.359 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3777, allocations: 79.41 kB / 1.318 GB, free: 2.281 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.3777, allocations: 0 / 1.318 GB, free: 2.281 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03907/0.4167, allocations: 5.465 MB / 1.324 GB, free: 13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.776/9.193, allocations: 2.234 kB / 1.324 GB, free: 13 MB / 1.029 GB " [Timeout remaining time 291] (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=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.057074973825365]