Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001063/0.001063, allocations: 86.25 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.001281/0.001281, 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 409.4 MB / 0.684 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 12 kB / 0.8378 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7675, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002039/0.7696, allocations: 1.335 MB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.7715, allocations: 1.385 MB / 0.9838 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.7716, allocations: 0 / 0.9838 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.772, allocations: 43.83 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.7722, allocations: 39.83 kB / 0.9839 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.7725, allocations: 95.75 kB / 0.984 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.7727, allocations: 135.7 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.7728, allocations: 16.2 kB / 0.9841 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.7729, allocations: 55.77 kB / 0.9842 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.7731, allocations: 67.75 kB / 0.9842 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.7731, allocations: 4 kB / 0.9842 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.7733, allocations: 55.97 kB / 0.9843 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.7734, allocations: 35.91 kB / 0.9843 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.7734, allocations: 41.64 kB / 0.9844 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.7736, allocations: 145.9 kB / 0.9845 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7737, allocations: 7.938 kB / 0.9845 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7737, allocations: 3.938 kB / 0.9845 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7737, allocations: 4 kB / 0.9845 GB, free: 2.75 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005973/0.7743, allocations: 442.7 kB / 0.9849 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.7743, allocations: 8.031 kB / 0.985 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.202e-05/0.7744, allocations: 38.56 kB / 0.985 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.7745, allocations: 19.8 kB / 0.985 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.7748, allocations: 246.7 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.7749, allocations: 11.94 kB / 0.9853 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.7749, allocations: 4 kB / 0.9853 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.7751, allocations: 123.2 kB / 0.9854 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.7751, allocations: 0 / 0.9854 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.7752, allocations: 4 kB / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7752, allocations: 0 / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.7754, allocations: 139.9 kB / 0.9855 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.7756, allocations: 237.4 kB / 0.9857 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.776, allocations: 178.5 kB / 0.9859 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.7761, allocations: 48.84 kB / 0.986 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.7762, allocations: 8.094 kB / 0.986 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.7764, allocations: 111.2 kB / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.7764, allocations: 0 / 0.9861 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004532/0.7769, allocations: 228.6 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.7769, allocations: 85.11 kB / 0.9864 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.7771, allocations: 202.6 kB / 0.9866 GB, free: 448 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.7772, allocations: 29.7 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.7772, allocations: 116.1 kB / 0.9867 GB, free: 292 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.7773, allocations: 43.45 kB / 0.9867 GB, free: 248 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.7773, allocations: 0 / 0.9867 GB, free: 248 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7774, allocations: 330.8 kB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.7775, allocations: 47.98 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.7776, allocations: 71.39 kB / 0.9872 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.7778, allocations: 55.98 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7778, allocations: 0 / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003021/0.7781, allocations: 197.4 kB / 0.9874 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7781, allocations: 4 kB / 0.9874 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7781, allocations: 3.953 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7781, allocations: 3.984 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7783, allocations: 32.05 kB / 0.9875 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7783, allocations: 7.875 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.7784, allocations: 15.84 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.7784, allocations: 7.984 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001129/0.7785, allocations: 130.9 kB / 0.9876 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.7785, allocations: 15.81 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.7786, allocations: 29.52 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7786, allocations: 3.953 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7786, allocations: 4 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7786, allocations: 0 / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.7788, allocations: 237.6 kB / 0.9879 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7788, allocations: 0 / 0.9879 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.7789, allocations: 19.98 kB / 0.9879 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7789, allocations: 0 / 0.9879 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.7789, allocations: 7.938 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7789, allocations: 3.984 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7789, allocations: 3.953 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.7793, allocations: 208.8 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.7793, allocations: 96.84 kB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.7794, allocations: 8 kB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/0.7794, allocations: 4 kB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.7795, allocations: 15.94 kB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.7795, allocations: 7.984 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001285/0.7796, allocations: 156 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7796, allocations: 0 / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002607/0.7799, allocations: 39.98 kB / 0.9884 GB, free: 14.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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001493/0.7814, allocations: 1.106 MB / 0.9895 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.7817, allocations: 123.8 kB / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7817, allocations: 0 / 0.9896 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.7818, allocations: 63.91 kB / 0.9897 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.7821, allocations: 27.92 kB / 0.9897 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.7836, allocations: 0.9891 MB / 0.9907 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.7838, allocations: 0.7205 MB / 0.9914 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.784, allocations: 53.64 kB / 0.9914 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.7841, allocations: 59.41 kB / 0.9915 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.7841, allocations: 0 / 0.9915 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.8004, allocations: 4.169 MB / 0.9956 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.8007, allocations: 264.9 kB / 0.9958 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.634, allocations: 0 / 0.9958 GB, free: 7.051 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat does not exist to compare? outputFormat=mat