Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.0009143/0.0009142, allocations: 86.72 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.001118/0.001117, 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 15.92 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6719, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001552/0.6734, allocations: 0.7772 MB / 0.982 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.6748, allocations: 0.9831 MB / 0.9829 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.6749, allocations: 4 kB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.6749, allocations: 11.86 kB / 0.9829 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.6751, allocations: 23.84 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.6753, allocations: 51.95 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.6756, allocations: 196.2 kB / 0.9832 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.6758, allocations: 90.61 kB / 0.9833 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.676, allocations: 63.66 kB / 0.9833 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.6761, allocations: 63.62 kB / 0.9834 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.6761, allocations: 4 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.6761, allocations: 8 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.6762, allocations: 27.84 kB / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.6762, allocations: 49.64 kB / 0.9835 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.6764, allocations: 213.7 kB / 0.9837 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6765, allocations: 0 / 0.9837 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6765, allocations: 3.938 kB / 0.9837 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6765, allocations: 0 / 0.9837 GB, free: 3.699 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006338/0.6771, allocations: 471 kB / 0.9841 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6772, allocations: 8.031 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/0.6772, allocations: 58.48 kB / 0.9842 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.6773, allocations: 23.72 kB / 0.9842 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.6778, allocations: 280.5 kB / 0.9845 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.6778, allocations: 12.44 kB / 0.9845 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6778, allocations: 20 kB / 0.9845 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.6782, allocations: 195.2 kB / 0.9847 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6782, allocations: 0 / 0.9847 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.6783, allocations: 12 kB / 0.9847 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.6783, allocations: 4 kB / 0.9847 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.6787, allocations: 157.6 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.6795, allocations: 0.5725 MB / 0.9854 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.6798, allocations: 134.7 kB / 0.9856 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.6799, allocations: 68.83 kB / 0.9856 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.68, allocations: 0 / 0.9856 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.68, allocations: 42.42 kB / 0.9857 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.68, allocations: 0 / 0.9857 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005776/0.6806, allocations: 222.9 kB / 0.9859 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6807, allocations: 55.41 kB / 0.9859 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.6808, allocations: 170.3 kB / 0.9861 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6809, allocations: 25.7 kB / 0.9861 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.681, allocations: 136.2 kB / 0.9862 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.681, allocations: 51.45 kB / 0.9863 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.681, allocations: 4 kB / 0.9863 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6812, allocations: 326.8 kB / 0.9866 GB, free: 484 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.6813, allocations: 55.95 kB / 0.9867 GB, free: 428 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.6815, allocations: 110.1 kB / 0.9868 GB, free: 300 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.6817, allocations: 57.09 kB / 0.9868 GB, free: 244 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6817, allocations: 0 / 0.9868 GB, free: 244 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003937/0.6821, allocations: 197.2 kB / 0.987 GB, free: 40 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6821, allocations: 4 kB / 0.987 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6821, allocations: 4 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6821, allocations: 0 / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.6823, allocations: 39.95 kB / 0.9871 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6824, allocations: 3.953 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.6825, allocations: 31.94 kB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.6825, allocations: 8 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.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 (20): * Single equations (assignments): 20 * 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.0001275/0.6826, allocations: 141.7 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.6827, allocations: 7.906 kB / 0.9872 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.6827, allocations: 21.52 kB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6828, allocations: 7.922 kB / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6828, allocations: 4 kB / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6828, allocations: 3.953 kB / 0.9873 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.6831, allocations: 269.5 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6831, allocations: 0 / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.6832, allocations: 19.98 kB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6832, allocations: 8 kB / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6832, allocations: 4 kB / 0.9876 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6833, allocations: 3.984 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6833, allocations: 0 / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.6837, allocations: 269.9 kB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.6837, allocations: 88.92 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.6837, allocations: 4 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6839, allocations: 19.98 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.6839, allocations: 19.97 kB / 0.988 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.684, allocations: 4 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.276e-05/0.684, allocations: 117.8 kB / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.684, allocations: 0 / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002684/0.6843, allocations: 35.84 kB / 0.9881 GB, free: 14.84 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006547/0.685, allocations: 0.8059 MB / 0.9889 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.6853, allocations: 154 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6854, allocations: 4 kB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.6855, allocations: 76.2 kB / 0.9891 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6859, allocations: 25.42 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.6875, allocations: 0.9796 MB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.6877, allocations: 0.7323 MB / 0.9908 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.6879, allocations: 25.53 kB / 0.9908 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.688, allocations: 51.42 kB / 0.9909 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.688, allocations: 0 / 0.9909 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.7013, allocations: 3.04 MB / 0.9939 GB, free: 9.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.7015, allocations: 264.5 kB / 0.9941 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.521, allocations: 0 / 0.9941 GB, free: 8.73 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat