Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.00126/0.00126, allocations: 91.84 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.001562/0.001562, 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.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003678, allocations: 8 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7574, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001584/0.759, allocations: 1.041 MB / 0.9822 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.7604, allocations: 1.05 MB / 0.9832 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.7605, allocations: 4 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.7605, allocations: 23.78 kB / 0.9833 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.7607, allocations: 27.73 kB / 0.9833 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.761, allocations: 79.92 kB / 0.9834 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.7613, allocations: 300.7 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.7616, allocations: 149.3 kB / 0.9838 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.7618, allocations: 87.5 kB / 0.9839 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.7619, allocations: 95.42 kB / 0.984 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.762, allocations: 8 kB / 0.984 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.762, allocations: 8 kB / 0.984 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.762, allocations: 39.78 kB / 0.984 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.7621, allocations: 73.52 kB / 0.9841 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.7624, allocations: 361.2 kB / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.7624, allocations: 0 / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7624, allocations: 0 / 0.9844 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.7625, allocations: 0 / 0.9844 GB, free: 2.918 MB / 0.7325 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.0008608/0.7633, allocations: 0.5262 MB / 0.9849 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.7634, allocations: 8.031 kB / 0.985 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.518e-05/0.7635, allocations: 70.53 kB / 0.985 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.7635, allocations: 31.62 kB / 0.985 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.7641, allocations: 331.8 kB / 0.9854 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.7641, allocations: 32.59 kB / 0.9854 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.7642, allocations: 28 kB / 0.9854 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.7648, allocations: 294 kB / 0.9857 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7648, allocations: 4 kB / 0.9857 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.7648, allocations: 16 kB / 0.9857 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.7648, allocations: 8 kB / 0.9857 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.7654, allocations: 234.5 kB / 0.986 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.7665, allocations: 0.8192 MB / 0.9868 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.7669, allocations: 226.8 kB / 0.987 GB, free: 148 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.7672, allocations: 124.7 kB / 0.9871 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.7672, allocations: 0 / 0.9871 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.7672, allocations: 42.59 kB / 0.9871 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.7673, allocations: 0 / 0.9871 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.0006994/0.768, allocations: 312.7 kB / 0.9874 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.768, allocations: 63.41 kB / 0.9875 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.7682, allocations: 207.6 kB / 0.9877 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.7683, allocations: 25.7 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.7684, allocations: 184.1 kB / 0.9879 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.7685, allocations: 70.86 kB / 0.988 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.7685, allocations: 8 kB / 0.988 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7686, allocations: 338.8 kB / 0.9883 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.7688, allocations: 80.52 kB / 0.9884 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7691, allocations: 147.9 kB / 0.9885 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.7693, allocations: 87.97 kB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7693, allocations: 0 / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005222/0.7698, allocations: 285.2 kB / 0.9889 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7699, allocations: 8.031 kB / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7699, allocations: 4 kB / 0.9889 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.7699, allocations: 4 kB / 0.9889 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.7701, allocations: 55.91 kB / 0.9889 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7702, allocations: 11.97 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.7703, allocations: 23.84 kB / 0.989 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.7703, allocations: 8 kB / 0.989 GB, free: 14.02 MB / 0.7481 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.0001534/0.7705, allocations: 169.7 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.7705, allocations: 23.66 kB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.771, allocations: 259.5 kB / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.7711, allocations: 7.938 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7711, allocations: 0 / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7711, allocations: 0 / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.7714, allocations: 345.3 kB / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7715, allocations: 0 / 0.9897 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.7716, allocations: 43.97 kB / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.7717, allocations: 8 kB / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7717, allocations: 0 / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.7717, allocations: 4 kB / 0.9898 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7717, allocations: 7.922 kB / 0.9898 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.7722, allocations: 338.8 kB / 0.9901 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.7723, allocations: 104.8 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.7723, allocations: 4 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7724, allocations: 15.98 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.7725, allocations: 27.95 kB / 0.9903 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.7725, allocations: 4 kB / 0.9903 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001073/0.7726, allocations: 144.2 kB / 0.9904 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7727, allocations: 0 / 0.9904 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002969/0.773, allocations: 51.78 kB / 0.9905 GB, free: 12.39 MB / 0.7481 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.0008398/0.7738, allocations: 0.8886 MB / 0.9913 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.7743, allocations: 223.8 kB / 0.9915 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7743, allocations: 0 / 0.9915 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.7745, allocations: 119 kB / 0.9917 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.7749, allocations: 32.36 kB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.777, allocations: 1.357 MB / 0.993 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.7773, allocations: 0.7637 MB / 0.9938 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.7775, allocations: 30.28 kB / 0.9938 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.7776, allocations: 100.8 kB / 0.9939 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.7776, allocations: 0 / 0.9939 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.792, allocations: 4.011 MB / 0.9978 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.7922, allocations: 242.5 kB / 0.998 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.579, allocations: 0 / 0.998 GB, free: 4.742 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat