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.544/1.544, allocations: 252 MB / 267.3 MB, free: 10.8 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.001005/0.001005, allocations: 171.2 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007803/0.0007803, allocations: 81.58 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 14.03 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 106.3 MB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002453/0.2851, allocations: 1.498 MB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.2859, allocations: 299.9 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.286, allocations: 4 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.286, allocations: 11.86 kB / 0.9027 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2862, allocations: 15.8 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.2865, allocations: 75.94 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.2868, allocations: 252 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.2871, allocations: 95.36 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2872, allocations: 75.62 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2874, allocations: 103.4 kB / 0.9033 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.2874, allocations: 8 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.173e-05/0.2874, allocations: 8 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.2875, allocations: 39.83 kB / 0.9034 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2876, allocations: 109.1 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2879, allocations: 315.1 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.288, allocations: 0 / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.288, allocations: 0 / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.288, allocations: 4 kB / 0.9038 GB, free: 60.41 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.001127/0.2891, allocations: 0.5182 MB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.2892, allocations: 8.031 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.2893, allocations: 54.73 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.2893, allocations: 28.59 kB / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.2897, allocations: 259.8 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.2897, allocations: 16.38 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2898, allocations: 28.36 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.2904, allocations: 218 kB / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2904, allocations: 7.938 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.2904, allocations: 4 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2905, allocations: 4 kB / 0.9049 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.2912, allocations: 203.9 kB / 0.9051 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.2926, allocations: 0.6443 MB / 0.9057 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.2933, allocations: 236.9 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.2936, allocations: 104.7 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2937, allocations: 4 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.2942, allocations: 183.2 kB / 0.9062 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.305e-06/0.2942, allocations: 3.938 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.2952, allocations: 340.9 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2953, allocations: 59.34 kB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2954, allocations: 206.2 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.2955, allocations: 37.7 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.2956, allocations: 144.3 kB / 0.907 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.2957, allocations: 51.34 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.2957, allocations: 8 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.2957, allocations: 334.8 kB / 0.9073 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.2961, allocations: 103.9 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.2965, allocations: 151.4 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.297, allocations: 189.8 kB / 0.9078 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.297, allocations: 0 / 0.9078 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006979/0.2977, allocations: 281.3 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2978, allocations: 4 kB / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2978, allocations: 0 / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2978, allocations: 4 kB / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2981, allocations: 47.97 kB / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2981, allocations: 0 / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2984, allocations: 67.78 kB / 0.9082 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2984, allocations: 4 kB / 0.9082 GB, free: 55.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.2986, allocations: 151.5 kB / 0.9083 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2986, allocations: 19.72 kB / 0.9083 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.2987, allocations: 29.86 kB / 0.9084 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2987, allocations: 4 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2987, allocations: 4 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2987, allocations: 7.875 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.299, allocations: 297.4 kB / 0.9086 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.299, allocations: 0 / 0.9086 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2992, allocations: 35.92 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2992, allocations: 4 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.2992, allocations: 7.984 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2992, allocations: 0 / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2992, allocations: 4 kB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.2999, allocations: 280.6 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3, allocations: 92.92 kB / 0.9091 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.3, allocations: 12 kB / 0.9091 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.3003, allocations: 39.95 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3005, allocations: 51.86 kB / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3005, allocations: 8 kB / 0.9092 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001012/0.3006, allocations: 140.2 kB / 0.9093 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3006, allocations: 0 / 0.9093 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002782/0.3009, allocations: 51.84 kB / 0.9093 GB, free: 54.36 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 (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.0009291/0.3018, allocations: 0.8246 MB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.3026, allocations: 247.8 kB / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3026, allocations: 0 / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.303, allocations: 123.9 kB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3033, allocations: 29.75 kB / 0.9105 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.3067, allocations: 2.338 MB / 0.9128 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3069, allocations: 0.7362 MB / 0.9135 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.787e-05/0.307, allocations: 25.89 kB / 0.9136 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3071, allocations: 63.41 kB / 0.9136 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.3071, allocations: 0 / 0.9136 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.3227, allocations: 4.058 MB / 0.9176 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.3229, allocations: 246.4 kB / 0.9178 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.196, allocations: 0 / 0.9178 GB, free: 45.77 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)