Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.0009952/0.0009954, 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.001014/0.001014, 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.349/1.349, 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.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7816, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.001561/0.7833, allocations: 0.9236 MB / 0.9821 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.7845, allocations: 1.034 MB / 0.9831 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.7847, allocations: 4 kB / 0.9831 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.7848, allocations: 23.72 kB / 0.9831 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.7849, allocations: 23.84 kB / 0.9832 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.7851, allocations: 71.86 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.7854, allocations: 252.5 kB / 0.9835 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.7856, allocations: 120 kB / 0.9836 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.7858, allocations: 75.58 kB / 0.9836 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.7859, allocations: 75.55 kB / 0.9837 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.7859, allocations: 8 kB / 0.9837 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.7859, allocations: 8 kB / 0.9837 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.786, allocations: 35.78 kB / 0.9838 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.786, allocations: 57.58 kB / 0.9838 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.7863, allocations: 305.4 kB / 0.9841 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7863, allocations: 0 / 0.9841 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7863, allocations: 0 / 0.9841 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7863, allocations: 4 kB / 0.9841 GB, free: 3.262 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000803/0.7872, allocations: 0.4989 MB / 0.9846 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.7872, allocations: 16.02 kB / 0.9846 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.16e-05/0.7873, allocations: 58.55 kB / 0.9847 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.7874, allocations: 23.72 kB / 0.9847 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.7879, allocations: 323.8 kB / 0.985 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.788, allocations: 20.56 kB / 0.985 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.788, allocations: 27.94 kB / 0.9851 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.7885, allocations: 236.8 kB / 0.9853 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7885, allocations: 0 / 0.9853 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.7885, allocations: 12 kB / 0.9853 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.7885, allocations: 4 kB / 0.9853 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.789, allocations: 194.1 kB / 0.9855 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.7899, allocations: 0.6663 MB / 0.9861 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.7904, allocations: 160.1 kB / 0.9863 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.7905, allocations: 68.83 kB / 0.9863 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.7906, allocations: 8 kB / 0.9864 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.7906, allocations: 38.52 kB / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.7906, allocations: 0 / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.000615/0.7912, allocations: 239.4 kB / 0.9866 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7913, allocations: 51.41 kB / 0.9867 GB, free: 464 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.7915, allocations: 211.6 kB / 0.9869 GB, free: 240 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.7915, allocations: 33.7 kB / 0.9869 GB, free: 200 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.7916, allocations: 156.1 kB / 0.9871 GB, free: 40 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.7917, allocations: 55.44 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.7917, allocations: 8 kB / 0.9871 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7918, allocations: 326.8 kB / 0.9874 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.792, allocations: 63.95 kB / 0.9875 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.7922, allocations: 128.3 kB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.7924, allocations: 71.91 kB / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7924, allocations: 0 / 0.9877 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004314/0.7928, allocations: 226.9 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7929, allocations: 8 kB / 0.9879 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7929, allocations: 3.953 kB / 0.9879 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7929, allocations: 4 kB / 0.9879 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.7931, allocations: 39.91 kB / 0.9879 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.7931, allocations: 4.219 kB / 0.988 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.7932, allocations: 31.83 kB / 0.988 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.7933, allocations: 11.98 kB / 0.988 GB, free: 15.04 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: 15 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,$PRE.actAirSet.gre.greHys.y,actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0001876/0.7935, allocations: 145.8 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.7935, allocations: 19.72 kB / 0.9882 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.7936, allocations: 21.88 kB / 0.9882 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7936, allocations: 11.95 kB / 0.9882 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7936, allocations: 3.984 kB / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7936, allocations: 0 / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.7939, allocations: 289.4 kB / 0.9885 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.794, allocations: 0 / 0.9885 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.7941, allocations: 35.91 kB / 0.9885 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7941, allocations: 0 / 0.9885 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7941, allocations: 7.875 kB / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.7941, allocations: 0 / 0.9885 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.7941, allocations: 15.94 kB / 0.9885 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.7946, allocations: 276.5 kB / 0.9888 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.7946, allocations: 92.92 kB / 0.9889 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.7947, allocations: 11.94 kB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.7948, allocations: 19.98 kB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.7949, allocations: 27.91 kB / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.7949, allocations: 4 kB / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.728e-05/0.795, allocations: 141.5 kB / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.795, allocations: 0 / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000273/0.7953, allocations: 43.78 kB / 0.9891 GB, free: 13.81 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0006891/0.796, allocations: 0.8242 MB / 0.9899 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.7964, allocations: 176.2 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7964, allocations: 0 / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.7966, allocations: 83.89 kB / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.7969, allocations: 23.98 kB / 0.9902 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.7988, allocations: 1.18 MB / 0.9913 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.7991, allocations: 0.7448 MB / 0.9921 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.7992, allocations: 29.94 kB / 0.9921 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.7994, allocations: 75.41 kB / 0.9922 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.7994, allocations: 4 kB / 0.9922 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.8133, allocations: 3.811 MB / 0.9959 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.8136, allocations: 260.9 kB / 0.9961 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.789, allocations: 3.938 kB / 0.9961 GB, free: 6.652 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat