Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil",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.0008639/0.0008639, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00486/0.00486, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.196/2.196, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002797, allocations: 8 kB / 0.873 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4969, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil): time 0.001563/0.4985, allocations: 1.326 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.5, allocations: 1.498 MB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.5002, allocations: 11.94 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.5003, allocations: 35.66 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.5004, allocations: 35.72 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.5009, allocations: 210.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.5012, allocations: 396.1 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.5014, allocations: 149.1 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.5015, allocations: 107.4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.5016, allocations: 107.4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.5016, allocations: 15.98 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.5017, allocations: 19.98 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.5018, allocations: 39.73 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5019, allocations: 144.9 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.5022, allocations: 480.5 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5022, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5022, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5022, allocations: 0 / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007472/0.503, allocations: 0.5746 MB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.503, allocations: 12.03 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.5031, allocations: 62.72 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.5032, allocations: 40.47 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.5037, allocations: 347.2 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5038, allocations: 24.8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.5038, allocations: 24.38 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.5042, allocations: 266.1 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.5043, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.5043, allocations: 12 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5043, allocations: 4 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.5047, allocations: 193.6 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.5058, allocations: 0.9595 MB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.5061, allocations: 158.5 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5063, allocations: 72.92 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5063, allocations: 0 / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.5066, allocations: 131.2 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.5066, allocations: 0 / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0005914/0.5072, allocations: 249.2 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5072, allocations: 81.11 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5075, allocations: 262.6 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5075, allocations: 33.7 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5076, allocations: 187.8 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.5077, allocations: 39.45 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.5077, allocations: 29.7 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.5078, allocations: 338.8 kB / 1.032 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.508, allocations: 83.95 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.5083, allocations: 158.1 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.5087, allocations: 238.5 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5087, allocations: 0 / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005829/0.5093, allocations: 311.1 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/0.5094, allocations: 168.8 kB / 1.033 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5094, allocations: 4 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5094, allocations: 4 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5096, allocations: 43.84 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5096, allocations: 4 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.5099, allocations: 71.7 kB / 1.033 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.5099, allocations: 19.97 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.5099, allocations: 4 kB / 1.033 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000447/0.5104, allocations: 249.3 kB / 1.033 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.5104, allocations: 8.156 kB / 1.033 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-06/0.5104, allocations: 8 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.5106, allocations: 35.92 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.5106, allocations: 4 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.5108, allocations: 59.8 kB / 1.033 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.5109, allocations: 15.98 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,fanStatus.y,cooCoi.conInt.y,reaToInt.y,zonSta.booPul.y,$PRE.zonSta.booPul.y,cooCoi.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001414/0.511, allocations: 233 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.5111, allocations: 19.72 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.5111, allocations: 25.7 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5111, allocations: 0 / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5111, allocations: 0 / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5111, allocations: 4 kB / 1.033 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.5114, allocations: 301.4 kB / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5114, allocations: 0 / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.5115, allocations: 31.97 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5115, allocations: 0 / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5115, allocations: 4 kB / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5115, allocations: 0 / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5115, allocations: 0 / 1.034 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.5119, allocations: 220.6 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.512, allocations: 108.8 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.512, allocations: 4 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5122, allocations: 15.98 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5122, allocations: 15.92 kB / 1.034 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5122, allocations: 4 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001423/0.5124, allocations: 186 kB / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5124, allocations: 0 / 1.034 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003443/0.5127, allocations: 99.69 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,cooCoi.and2.y,zonSta.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006455/0.5134, allocations: 0.7643 MB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.5141, allocations: 424.3 kB / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5141, allocations: 0 / 1.035 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.5143, allocations: 80.08 kB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5147, allocations: 55.47 kB / 1.036 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.5177, allocations: 2.63 MB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.5179, allocations: 0.7482 MB / 1.039 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.5181, allocations: 37.94 kB / 1.039 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5182, allocations: 87.39 kB / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5182, allocations: 0 / 1.039 GB, free: 15.01 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.532, allocations: 5.579 MB / 1.044 GB, free: 9.691 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.5321, allocations: 248.4 kB / 1.045 GB, free: 9.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.112, allocations: 5.297 kB / 1.045 GB, free: 9.434 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil_fmu --startTime=0 --stopTime=28000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe 2>&1)