Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",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.001221/0.001221, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.002331/0.002331, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004227, allocations: 12 kB / 0.815 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7906, allocations: 142.3 MB / 0.954 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow): time 0.001785/0.7924, allocations: 1.307 MB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.7934, allocations: 331.2 kB / 0.9556 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.7938, allocations: 13.62 kB / 0.9556 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.7941, allocations: 66.73 kB / 0.9556 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.7944, allocations: 58.33 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.7946, allocations: 82.42 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.7952, allocations: 0.544 MB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.796, allocations: 0.5791 MB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.7962, allocations: 145.6 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.7964, allocations: 234.8 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.7965, allocations: 17.09 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.7966, allocations: 21.16 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.7968, allocations: 219.9 kB / 0.9575 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.7969, allocations: 144.3 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008274/0.7977, allocations: 1.172 MB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7978, allocations: 1.5 kB / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7978, allocations: 0 / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.387e-05/0.7978, allocations: 0 / 0.9588 GB, free: 4.637 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001973/0.7998, allocations: 1.063 MB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.7999, allocations: 10 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003236/0.8002, allocations: 133.7 kB / 0.9599 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.8004, allocations: 110.3 kB / 0.96 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.8014, allocations: 0.6272 MB / 0.9607 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.8014, allocations: 58.69 kB / 0.9607 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8016, allocations: 80 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.803, allocations: 0.9156 MB / 0.9617 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8031, allocations: 3.984 kB / 0.9617 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.8031, allocations: 34.28 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.8031, allocations: 19.69 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.8045, allocations: 0.9271 MB / 0.9626 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.8087, allocations: 3.158 MB / 0.9657 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.8091, allocations: 246.8 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.8094, allocations: 160.1 kB / 0.9661 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.8094, allocations: 8.375 kB / 0.9661 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8095, allocations: 39.95 kB / 0.9662 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=27): time 3.496e-06/0.8095, allocations: 3.984 kB / 0.9662 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.000836/0.8103, allocations: 491.2 kB / 0.9666 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.8104, allocations: 58.36 kB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.8115, allocations: 0.8703 MB / 0.9675 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.8116, allocations: 31.02 kB / 0.9676 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.8119, allocations: 0.5012 MB / 0.9681 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.812, allocations: 104.1 kB / 0.9682 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.812, allocations: 10.81 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8122, allocations: 380.4 kB / 0.9685 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.8126, allocations: 239 kB / 0.9688 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.8131, allocations: 0.5223 MB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.8136, allocations: 333.9 kB / 0.9696 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.8136, allocations: 3.531 kB / 0.9696 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00117/0.8148, allocations: 0.8065 MB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.8148, allocations: 8.5 kB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.8148, allocations: 10.94 kB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.8149, allocations: 14.44 kB / 0.9704 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.8154, allocations: 154.6 kB / 0.9706 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.8154, allocations: 18.47 kB / 0.9706 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.8159, allocations: 103.9 kB / 0.9707 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.8159, allocations: 34.47 kB / 0.9707 GB, free: 12.48 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (opeMod[2].y,opeMod[1].y,zonToAhu.occMod[2].y,zonToAhu.occMod[1].y,zonToAhu.intEqu1[1].y,zonToAhu.intEqu1[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.000478/0.8164, allocations: 358 kB / 0.971 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.8165, allocations: 57.62 kB / 0.9711 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.8172, allocations: 409.7 kB / 0.9715 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8172, allocations: 3.75 kB / 0.9715 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8172, allocations: 0 / 0.9715 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8172, allocations: 7.984 kB / 0.9715 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.8199, allocations: 2.245 MB / 0.9737 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.8199, allocations: 6.25 kB / 0.9737 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.8202, allocations: 62.39 kB / 0.9738 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.8202, allocations: 9.031 kB / 0.9738 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.8202, allocations: 20.77 kB / 0.9738 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.537e-06/0.8202, allocations: 11.84 kB / 0.9738 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/0.8202, allocations: 10.5 kB / 0.9738 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.8209, allocations: 0.5784 MB / 0.9744 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.821, allocations: 169 kB / 0.9745 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.8211, allocations: 25.56 kB / 0.9746 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.8213, allocations: 26.41 kB / 0.9746 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.8214, allocations: 42.2 kB / 0.9746 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.8214, allocations: 17.16 kB / 0.9746 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007213/0.8221, allocations: 0.5942 MB / 0.9752 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8222, allocations: 0 / 0.9752 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006444/0.8228, allocations: 158.6 kB / 0.9754 GB, free: 9.312 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0009153/0.8237, allocations: 1.137 MB / 0.9765 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.8244, allocations: 0.4964 MB / 0.977 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.8244, allocations: 4 kB / 0.977 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.8246, allocations: 182.7 kB / 0.9772 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.8252, allocations: 78.97 kB / 0.9772 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/0.832, allocations: 4.95 MB / 0.9821 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.8327, allocations: 1.065 MB / 0.9831 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005089/0.8332, allocations: 216.9 kB / 0.9833 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.8335, allocations: 279.3 kB / 0.9836 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.8336, allocations: 0 / 0.9836 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.8574, allocations: 11.14 MB / 0.9945 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.8577, allocations: 264.8 kB / 0.9947 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.74, allocations: 4.062 kB / 0.9947 GB, free: 5.414 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat