Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",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.001059/0.00106, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.00131/0.00131, allocations: 172.7 kB / 15.95 MB, free: 208 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.488/1.488, allocations: 223.2 MB / 240 MB, free: 5.332 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.455/2.455, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 11.98 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8036, allocations: 142.3 MB / 0.9539 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001871/0.8055, allocations: 1.034 MB / 0.9549 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.8068, allocations: 1.059 MB / 0.9559 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.8069, allocations: 4.844 kB / 0.956 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.807, allocations: 23.72 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.8071, allocations: 18.2 kB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.8073, allocations: 84.83 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.8076, allocations: 299.2 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.8079, allocations: 154.2 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.8081, allocations: 80.23 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.8082, allocations: 98.75 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.8083, allocations: 7.719 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.8083, allocations: 8.344 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.8083, allocations: 36.91 kB / 0.9567 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.8084, allocations: 75.36 kB / 0.9568 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.8087, allocations: 366.2 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8087, allocations: 0.8438 kB / 0.9571 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8087, allocations: 3.938 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8088, allocations: 0 / 0.9572 GB, free: 5.566 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007424/0.8095, allocations: 0.5203 MB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8096, allocations: 13.5 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.8096, allocations: 67.59 kB / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.8097, allocations: 40.8 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.8102, allocations: 333.6 kB / 0.9581 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.8103, allocations: 22.91 kB / 0.9581 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.8103, allocations: 37.53 kB / 0.9582 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.8108, allocations: 286.1 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8109, allocations: 0 / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.8109, allocations: 10.97 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.8109, allocations: 7.344 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.8114, allocations: 250.2 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.8124, allocations: 0.8075 MB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.8128, allocations: 233.1 kB / 0.9597 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.8131, allocations: 117.5 kB / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.8132, allocations: 7.047 kB / 0.9598 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.8132, allocations: 36.81 kB / 0.9598 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.8132, allocations: 3.984 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007224/0.8139, allocations: 317.8 kB / 0.9602 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.814, allocations: 53.38 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.8141, allocations: 210.1 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.8142, allocations: 30.8 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.8143, allocations: 184.5 kB / 0.9606 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.8143, allocations: 76.83 kB / 0.9607 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.8143, allocations: 5.094 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.8144, allocations: 331.4 kB / 0.961 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.8146, allocations: 83.17 kB / 0.9611 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.8148, allocations: 146.3 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.815, allocations: 93.03 kB / 0.9613 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.815, allocations: 3.953 kB / 0.9613 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004972/0.8156, allocations: 288 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.8156, allocations: 5.344 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8156, allocations: 1.688 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.8156, allocations: 4.031 kB / 0.9616 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.8159, allocations: 58.16 kB / 0.9617 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8159, allocations: 6.938 kB / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.816, allocations: 28.83 kB / 0.9617 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8161, allocations: 12.19 kB / 0.9617 GB, free: 2.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001488/0.8162, allocations: 147.1 kB / 0.9618 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.8163, allocations: 24.95 kB / 0.9619 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.8168, allocations: 256 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.8168, allocations: 2.219 kB / 0.9621 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8168, allocations: 4 kB / 0.9621 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8169, allocations: 8.859 kB / 0.9621 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.8172, allocations: 348 kB / 0.9625 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8172, allocations: 0 / 0.9625 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.8174, allocations: 43.7 kB / 0.9625 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.8174, allocations: 1.375 kB / 0.9625 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.8174, allocations: 5.312 kB / 0.9625 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8174, allocations: 1.219 kB / 0.9625 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8174, allocations: 1.344 kB / 0.9625 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.8179, allocations: 345.9 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.818, allocations: 102.4 kB / 0.9629 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.818, allocations: 13.92 kB / 0.9629 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.8181, allocations: 12.11 kB / 0.963 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.8182, allocations: 26.78 kB / 0.963 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.8183, allocations: 9.297 kB / 0.963 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.851e-05/0.8184, allocations: 130.7 kB / 0.9631 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8184, allocations: 0.9062 kB / 0.9631 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003427/0.8187, allocations: 61.25 kB / 0.9632 GB, free: 0.9453 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0007033/0.8194, allocations: 0.8854 MB / 0.964 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.8199, allocations: 231.5 kB / 0.9643 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8199, allocations: 1.344 kB / 0.9643 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.8202, allocations: 112.9 kB / 0.9644 GB, free: 36 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.8205, allocations: 28.17 kB / 0.9644 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.8229, allocations: 1.356 MB / 0.9657 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.8232, allocations: 0.7664 MB / 0.9665 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.8234, allocations: 37.36 kB / 0.9665 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.8235, allocations: 94.69 kB / 0.9666 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.8236, allocations: 1.156 kB / 0.9666 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.84, allocations: 4.002 MB / 0.9705 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.8403, allocations: 236.7 kB / 0.9707 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.627, allocations: 0 / 0.9707 GB, free: 12.19 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat