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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004711/0.004711, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001329/0.00133, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.53/2.53, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 63.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.256, allocations: 162.3 MB / 1.242 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002088/0.2581, allocations: 1.162 MB / 1.243 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2598, allocations: 1.369 MB / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.2599, allocations: 0 / 1.244 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.776e-05/0.26, allocations: 31.61 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2601, allocations: 35.66 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.2608, allocations: 296 kB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.2612, allocations: 431.8 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.2614, allocations: 116.2 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.2615, allocations: 159.5 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2617, allocations: 159.3 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.2618, allocations: 44 kB / 1.246 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2619, allocations: 59.98 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.262, allocations: 59.78 kB / 1.246 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2621, allocations: 167.3 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.2626, allocations: 482.3 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2626, allocations: 0 / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2626, allocations: 0 / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.2626, allocations: 0 / 1.246 GB, free: 5.297 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.0007955/0.2634, allocations: 0.6225 MB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2635, allocations: 8.031 kB / 1.247 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.2635, allocations: 54.73 kB / 1.247 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.2636, allocations: 36.73 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.2642, allocations: 328 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2642, allocations: 16.38 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.2643, allocations: 28.38 kB / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.2645, allocations: 181.6 kB / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2645, allocations: 0 / 1.248 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2646, allocations: 8 kB / 1.248 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2646, allocations: 8 kB / 1.248 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.2648, allocations: 115.9 kB / 1.248 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.2657, allocations: 0.6797 MB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.266, allocations: 174.8 kB / 1.248 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2662, allocations: 68.83 kB / 1.249 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2662, allocations: 0 / 1.249 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.2664, allocations: 139.2 kB / 1.249 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.2664, allocations: 4 kB / 1.249 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0003903/0.2668, allocations: 215.2 kB / 1.249 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2668, allocations: 51.41 kB / 1.249 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.267, allocations: 222.8 kB / 1.249 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2671, allocations: 37.7 kB / 1.249 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.2672, allocations: 144.8 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.2672, allocations: 47.62 kB / 1.249 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2674, allocations: 77.67 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2675, allocations: 338.8 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2677, allocations: 95.95 kB / 1.25 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.2679, allocations: 170.7 kB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2682, allocations: 225.2 kB / 1.25 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2682, allocations: 0 / 1.25 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005179/0.2687, allocations: 344.8 kB / 1.251 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.2688, allocations: 71.33 kB / 1.251 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2688, allocations: 3.938 kB / 1.251 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2688, allocations: 4 kB / 1.251 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.2689, allocations: 20.11 kB / 1.251 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2689, allocations: 4 kB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.2693, allocations: 71.81 kB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2693, allocations: 23.92 kB / 1.251 GB, free: 408 kB / 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.0001362/0.2694, allocations: 152.1 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2695, allocations: 23.8 kB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.2695, allocations: 25.86 kB / 1.251 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2695, allocations: 4 kB / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2695, allocations: 0 / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2695, allocations: 0 / 1.251 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4205/0.69, allocations: 294.8 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6901, allocations: 0.5625 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/0.6902, allocations: 20.38 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6902, allocations: 4.672 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.6902, allocations: 7.641 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6902, allocations: 2.875 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6902, allocations: 1.688 kB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.6905, allocations: 199.6 kB / 1.251 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.6906, allocations: 94 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.6906, allocations: 10.56 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.6907, allocations: 11.31 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.6908, allocations: 42 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6908, allocations: 5.953 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001035/0.691, allocations: 148.2 kB / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.691, allocations: 0 / 1.252 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003187/0.6913, allocations: 61.53 kB / 1.252 GB, free: 14.38 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.0004302/0.6917, allocations: 0.7456 MB / 1.253 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.6922, allocations: 343.1 kB / 1.253 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6922, allocations: 2.312 kB / 1.253 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.6923, allocations: 79.84 kB / 1.253 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6926, allocations: 51.61 kB / 1.253 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.695, allocations: 2.433 MB / 1.255 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.6951, allocations: 0.7398 MB / 1.256 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.6952, allocations: 25.88 kB / 1.256 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.6953, allocations: 77.36 kB / 1.256 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.6953, allocations: 2.719 kB / 1.256 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.295/5.991, allocations: 5.451 MB / 1.261 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/19.14, allocations: 8.172 kB / 1.262 GB, free: 10.99 MB / 0.9981 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=400 --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