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.Title24.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.Title24.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_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.0008555/0.0008556, allocations: 87.11 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.001078/0.001078, 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.524/1.524, allocations: 223.3 MB / 240 MB, free: 5.438 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.461/2.461, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 16 kB / 0.815 GB, free: 13.95 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.3 MB / 0.954 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow): time 0.002217/0.8033, allocations: 1.126 MB / 0.9551 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.8044, allocations: 294.8 kB / 0.9554 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.8048, allocations: 8.094 kB / 0.9554 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.8051, allocations: 50.42 kB / 0.9554 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.8054, allocations: 46.38 kB / 0.9555 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.8057, allocations: 71.06 kB / 0.9555 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.8063, allocations: 389.1 kB / 0.9559 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006392/0.8069, allocations: 348.2 kB / 0.9562 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.8071, allocations: 95.23 kB / 0.9563 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.8074, allocations: 148.8 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.8075, allocations: 10.12 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.8075, allocations: 11.44 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.8077, allocations: 117.8 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.8078, allocations: 109.2 kB / 0.9567 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.8085, allocations: 0.6921 MB / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8086, allocations: 1.75 kB / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8086, allocations: 0 / 0.9574 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.535e-05/0.8086, allocations: 0 / 0.9574 GB, free: 5.641 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001572/0.8102, allocations: 0.7679 MB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.8102, allocations: 8.969 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.8105, allocations: 92.45 kB / 0.9582 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.8106, allocations: 69.67 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.8114, allocations: 448.8 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.8114, allocations: 39.31 kB / 0.9587 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.8115, allocations: 51.56 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.8125, allocations: 0.5246 MB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.8125, allocations: 7.938 kB / 0.9593 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.8126, allocations: 20.5 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.8126, allocations: 12.31 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.8136, allocations: 0.5021 MB / 0.9598 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.8166, allocations: 1.835 MB / 0.9616 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.8171, allocations: 137.3 kB / 0.9618 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.8172, allocations: 67 kB / 0.9618 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.8173, allocations: 2 kB / 0.9618 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.8173, allocations: 31.56 kB / 0.9619 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.255e-06/0.8173, allocations: 0 / 0.9619 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004688/0.8178, allocations: 223.6 kB / 0.9621 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.8178, allocations: 53.41 kB / 0.9621 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.8186, allocations: 0.5701 MB / 0.9627 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.8186, allocations: 27.05 kB / 0.9627 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.8188, allocations: 354.5 kB / 0.963 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.8189, allocations: 42.11 kB / 0.9631 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.8189, allocations: 6.188 kB / 0.9631 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.819, allocations: 351.2 kB / 0.9634 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.8192, allocations: 118.1 kB / 0.9635 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.8195, allocations: 314 kB / 0.9638 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.8197, allocations: 167.3 kB / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.8198, allocations: 2.156 kB / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006983/0.8205, allocations: 467.4 kB / 0.9644 GB, free: 388 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.8205, allocations: 11.34 kB / 0.9645 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8205, allocations: 10.62 kB / 0.9645 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.8205, allocations: 14.73 kB / 0.9645 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.8209, allocations: 90.38 kB / 0.9646 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.8209, allocations: 12.97 kB / 0.9646 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.8212, allocations: 59.34 kB / 0.9646 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.8212, allocations: 21.12 kB / 0.9647 GB, free: 300 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (45): * Single equations (assignments): 45 * 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.0003212/0.8216, allocations: 241.4 kB / 0.9649 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.8217, allocations: 41.56 kB / 0.9649 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.822, allocations: 195.5 kB / 0.9651 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.822, allocations: 1.5 kB / 0.9651 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.8221, allocations: 3.953 kB / 0.9651 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.8221, allocations: 0.9688 kB / 0.9651 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.8235, allocations: 1.005 MB / 0.9661 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.8235, allocations: 10.97 kB / 0.9661 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.8237, allocations: 23.03 kB / 0.9661 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.8237, allocations: 8.859 kB / 0.9661 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.8237, allocations: 11.94 kB / 0.9662 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.8237, allocations: 3 kB / 0.9662 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.8237, allocations: 6.938 kB / 0.9662 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.8241, allocations: 274 kB / 0.9664 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.8243, allocations: 128 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.8243, allocations: 4.25 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.8245, allocations: 21.86 kB / 0.9666 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.8245, allocations: 14.94 kB / 0.9666 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.8245, allocations: 9.594 kB / 0.9666 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006275/0.8252, allocations: 399.5 kB / 0.967 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8252, allocations: 0 / 0.967 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005509/0.8257, allocations: 94.91 kB / 0.9671 GB, free: 14.47 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0007491/0.8265, allocations: 0.8172 MB / 0.9679 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.827, allocations: 253.9 kB / 0.9681 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.827, allocations: 2.812 kB / 0.9681 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8271, allocations: 65.41 kB / 0.9682 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.8275, allocations: 57.28 kB / 0.9682 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.8332, allocations: 2.879 MB / 0.971 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.8338, allocations: 0.898 MB / 0.9719 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000366/0.8342, allocations: 104 kB / 0.972 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.8345, allocations: 168.2 kB / 0.9722 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/0.8345, allocations: 0 / 0.9722 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.8583, allocations: 6.93 MB / 0.9789 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.8585, allocations: 259.2 kB / 0.9792 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.661, allocations: 0 / 0.9792 GB, free: 5.645 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.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.Title24.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Title24_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Title24.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.Title24.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat