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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.06 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002667/0.3757, allocations: 1.09 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3778, allocations: 1.394 MB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3779, allocations: 4 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.618e-05/0.3779, allocations: 23.67 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3781, allocations: 47.59 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.3788, allocations: 304.2 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.3793, allocations: 411.8 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.3795, allocations: 80.78 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.3798, allocations: 159.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.38, allocations: 139.3 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.3801, allocations: 44 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3802, allocations: 59.98 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.3802, allocations: 55.84 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3804, allocations: 139.4 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.381, allocations: 0.4946 MB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.381, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.381, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.381, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 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.0009209/0.3819, allocations: 0.5317 MB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.382, allocations: 8.031 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.382, allocations: 54.72 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.3821, allocations: 40.69 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.3828, allocations: 265.9 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.3828, allocations: 20.38 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/0.3829, allocations: 28.36 kB / 1.369 GB, free: 8.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3832, allocations: 174.3 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3832, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3832, allocations: 15.92 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3833, allocations: 4 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3835, allocations: 112 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3846, allocations: 0.5814 MB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.3851, allocations: 150.8 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3852, allocations: 57.12 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3852, allocations: 3.938 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.3855, allocations: 137 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3855, allocations: 4 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0004684/0.386, allocations: 221.4 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.386, allocations: 59.39 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3863, allocations: 214.9 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.3863, allocations: 33.7 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3864, allocations: 148.6 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.3865, allocations: 55.52 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3866, allocations: 77.67 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3868, allocations: 334.8 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.3871, allocations: 155.4 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.3874, allocations: 312.8 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3877, allocations: 221.7 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3877, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006669/0.3884, allocations: 424.8 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/0.3885, allocations: 67.33 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3885, allocations: 0 / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3885, allocations: 4.125 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.3886, allocations: 27.92 kB / 1.372 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3886, allocations: 4 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.389, allocations: 71.81 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.389, allocations: 15.98 kB / 1.372 GB, free: 4.812 MB / 1.061 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.0002103/0.3892, allocations: 159.6 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3893, allocations: 23.84 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.884e-05/0.3893, allocations: 25.8 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3893, allocations: 0 / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3894, allocations: 0 / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3894, allocations: 4 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.3897, allocations: 248.5 kB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3897, allocations: 0 / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3898, allocations: 15.94 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3898, allocations: 7.938 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3898, allocations: 3.984 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3898, allocations: 4 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3898, allocations: 0 / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3901, allocations: 202.4 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.3902, allocations: 19.83 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3902, allocations: 8 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.3903, allocations: 15.98 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.3904, allocations: 31.94 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3904, allocations: 12 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001578/0.3906, allocations: 148.4 kB / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3906, allocations: 0 / 1.373 GB, free: 3.836 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003015/0.3909, allocations: 71.78 kB / 1.373 GB, free: 3.766 MB / 1.061 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.000754/0.3916, allocations: 0.7472 MB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.3922, allocations: 374 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3922, allocations: 0 / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3924, allocations: 76.17 kB / 1.374 GB, free: 2.512 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3928, allocations: 45.14 kB / 1.374 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.3971, allocations: 2.706 MB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3973, allocations: 130.2 kB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.3974, allocations: 29.94 kB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3976, allocations: 75.41 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of SimCode: time 1.783e-06/0.3976, allocations: 0 / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.434, allocations: 6.319 MB / 1.383 GB, free: 9.223 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.83, allocations: 11.19 kB / 1.383 GB, free: 9.219 MB / 1.076 GB " [Timeout remaining time 288] (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/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: 18.72330019203946]