Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.2 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.5776 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 84.94 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 11.97 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2584, allocations: 106.3 MB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.00187/0.2603, allocations: 1.464 MB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005151/0.2609, allocations: 284 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.261, allocations: 4 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.261, allocations: 15.86 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.2611, allocations: 23.78 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2614, allocations: 55.92 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.2615, allocations: 232 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2617, allocations: 88.77 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.2618, allocations: 75.69 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.262, allocations: 87.52 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.262, allocations: 12 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.333e-05/0.262, allocations: 8 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.2621, allocations: 39.83 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2621, allocations: 53.58 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2623, allocations: 263.5 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2623, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2624, allocations: 4 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2624, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 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.0008931/0.2633, allocations: 0.5297 MB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2633, allocations: 8.031 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.2634, allocations: 50.48 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.2634, allocations: 39.61 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2637, allocations: 246.6 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2637, allocations: 20 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2637, allocations: 16 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.2642, allocations: 221.5 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2642, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.2642, allocations: 4 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2642, allocations: 4 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.2647, allocations: 203.9 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.2657, allocations: 0.6404 MB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.2662, allocations: 242.4 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.2665, allocations: 108.7 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.2665, allocations: 0 / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.2669, allocations: 184.8 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.2669, allocations: 4 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0008317/0.2678, allocations: 332 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.2678, allocations: 59.34 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.268, allocations: 210.2 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.268, allocations: 33.7 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.2681, allocations: 148.3 kB / 0.9062 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.2681, allocations: 43.45 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.2682, allocations: 4 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.2682, allocations: 334.8 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.2685, allocations: 107.9 kB / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.2688, allocations: 151.4 kB / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.269, allocations: 96.89 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.269, allocations: 0 / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005507/0.2696, allocations: 289.2 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2696, allocations: 4 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.2696, allocations: 4 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2696, allocations: 4 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2698, allocations: 47.95 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2699, allocations: 0 / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.2701, allocations: 63.8 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.2701, allocations: 4 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.2703, allocations: 143.5 kB / 0.9074 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.2703, allocations: 23.75 kB / 0.9074 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.2703, allocations: 29.88 kB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2704, allocations: 4 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2704, allocations: 3.938 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2704, allocations: 0 / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2706, allocations: 297.3 kB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2706, allocations: 4 kB / 0.9077 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2707, allocations: 35.91 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2707, allocations: 3.953 kB / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2708, allocations: 8 kB / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2708, allocations: 0 / 0.9078 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2708, allocations: 4 kB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.2713, allocations: 268.8 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2714, allocations: 96.91 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2714, allocations: 4 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2716, allocations: 47.92 kB / 0.9082 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2717, allocations: 55.84 kB / 0.9082 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.2718, allocations: 11.98 kB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.481e-05/0.2718, allocations: 131.2 kB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2719, allocations: 0 / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002123/0.2721, allocations: 47.84 kB / 0.9084 GB, free: 55.12 MB / 0.6042 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 ($whenCondition2,$whenCondition1,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.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,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): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007386/0.2728, allocations: 0.8282 MB / 0.9092 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.2734, allocations: 251.8 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2734, allocations: 0 / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.2737, allocations: 125.6 kB / 0.9096 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.274, allocations: 31.16 kB / 0.9096 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.276, allocations: 1.282 MB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2761, allocations: 0.7362 MB / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.2762, allocations: 25.97 kB / 0.9116 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2763, allocations: 67.41 kB / 0.9117 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2764, allocations: 4 kB / 0.9117 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.2914, allocations: 4.289 MB / 0.9159 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2916, allocations: 226.6 kB / 0.9161 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.209, allocations: 3.938 kB / 0.9161 GB, free: 47.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)