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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001526, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.47/2.47, allocations: 469.8 MB / 0.7424 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003331/0.003331, allocations: 64.52 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2719, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002222/0.2741, allocations: 1.154 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2757, allocations: 1.384 MB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.2758, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.2759, allocations: 23.67 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.276, allocations: 39.59 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.2766, allocations: 294.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.277, allocations: 419.9 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.2772, allocations: 112.2 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2774, allocations: 159.5 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.2775, allocations: 151.3 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.2776, allocations: 44 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.681e-05/0.2777, allocations: 55.98 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.2778, allocations: 63.77 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2779, allocations: 159.3 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.2784, allocations: 478.9 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2784, allocations: 4 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2784, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.2784, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 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.0007767/0.2792, allocations: 0.6123 MB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2792, allocations: 12.03 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.2793, allocations: 50.73 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.2793, allocations: 32.66 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.28, allocations: 327.8 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.28, allocations: 24.38 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.28, allocations: 24.38 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.2803, allocations: 181.6 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2803, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.2804, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2804, allocations: 11.92 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.2806, allocations: 115.9 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.2815, allocations: 0.6951 MB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/0.2818, allocations: 158.8 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2819, allocations: 72.83 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.282, allocations: 4.281 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.2822, allocations: 131.3 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.2822, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0003821/0.2826, allocations: 223.3 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2826, allocations: 55.41 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.2828, allocations: 222.8 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.2829, allocations: 37.7 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.947e-05/0.283, allocations: 140.5 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.283, allocations: 55.28 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.2831, allocations: 77.67 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2833, allocations: 334.8 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2835, allocations: 95.95 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.2837, allocations: 156.1 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.284, allocations: 218.7 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.284, allocations: 0 / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005394/0.2845, allocations: 352.6 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.2846, allocations: 67.45 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2846, allocations: 8 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2846, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.2847, allocations: 23.92 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2847, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.285, allocations: 79.67 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2851, allocations: 19.98 kB / 1.073 GB, free: 4.805 MB / 0.8262 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.0001382/0.2852, allocations: 159.5 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2853, allocations: 19.75 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.2853, allocations: 25.86 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2853, allocations: 4 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2853, allocations: 0 / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2853, allocations: 0 / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.2856, allocations: 297.4 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2856, allocations: 0 / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.2857, allocations: 12 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.2857, allocations: 3.938 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2857, allocations: 11.92 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2857, allocations: 4 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2857, allocations: 0 / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.286, allocations: 190.6 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.286, allocations: 116.6 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2861, allocations: 8 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.2862, allocations: 11.98 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.2862, allocations: 35.95 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2863, allocations: 4 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001118/0.2864, allocations: 148.4 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2864, allocations: 0 / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.2866, allocations: 59.84 kB / 1.074 GB, free: 3.621 MB / 0.8262 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.0005725/0.2872, allocations: 0.7544 MB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.2877, allocations: 346.6 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2877, allocations: 256 / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2878, allocations: 79.91 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2881, allocations: 47.73 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.2922, allocations: 2.427 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.2925, allocations: 0.744 MB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.406e-05/0.2926, allocations: 29.94 kB / 1.078 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2927, allocations: 75.41 kB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of SimCode: time 1.813e-06/0.2927, allocations: 0 / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.118/4.411, allocations: 5.4 MB / 1.084 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.27/25.68, allocations: 9.688 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches