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.001627/0.001626, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002238/0.002239, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.557/2.557, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.893/4.893, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008326/0.0008331, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677/1.678, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.004436/1.683, allocations: 1.324 MB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00437/1.687, allocations: 1.381 MB / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/1.688, allocations: 0 / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/1.688, allocations: 47.77 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003374/1.689, allocations: 43.88 kB / 0.9836 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/1.689, allocations: 87.77 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/1.69, allocations: 99.8 kB / 0.9838 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.69, allocations: 16.2 kB / 0.9838 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/1.69, allocations: 59.77 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/1.69, allocations: 47.89 kB / 0.9839 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/1.69, allocations: 4 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/1.691, allocations: 47.86 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/1.691, allocations: 39.89 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/1.691, allocations: 41.64 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000476/1.691, allocations: 142 kB / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.691, allocations: 0 / 0.9842 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.627e-06/1.691, allocations: 4 kB / 0.9842 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.691, allocations: 0 / 0.9842 GB, free: 2.887 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.001382/1.693, allocations: 442.6 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.157e-05/1.693, allocations: 8.031 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/1.693, allocations: 46.48 kB / 0.9846 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/1.693, allocations: 15.81 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/1.694, allocations: 242.7 kB / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/1.694, allocations: 8 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/1.694, allocations: 4 kB / 0.9849 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/1.695, allocations: 123.2 kB / 0.985 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.695, allocations: 0 / 0.985 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.695, allocations: 7.938 kB / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.695, allocations: 0 / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/1.695, allocations: 139.9 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/1.696, allocations: 237.4 kB / 0.9854 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/1.696, allocations: 178.4 kB / 0.9856 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/1.696, allocations: 8 kB / 0.9856 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/1.697, allocations: 111.3 kB / 0.9857 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/1.697, allocations: 0 / 0.9857 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0009642/1.698, allocations: 224.1 kB / 0.9859 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/1.698, allocations: 81.11 kB / 0.986 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/1.699, allocations: 206.9 kB / 0.9862 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/1.699, allocations: 33.7 kB / 0.9862 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.699, allocations: 108.1 kB / 0.9863 GB, free: 492 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.699, allocations: 47.39 kB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.699, allocations: 0 / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003156/1.699, allocations: 330.8 kB / 0.9867 GB, free: 104 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/1.7, allocations: 51.91 kB / 0.9867 GB, free: 52 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/1.7, allocations: 75.75 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/1.7, allocations: 55.98 kB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.7, allocations: 0 / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005768/1.701, allocations: 189.4 kB / 0.987 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.701, allocations: 5.094 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.701, allocations: 8 kB / 0.987 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/1.701, allocations: 3.953 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/1.701, allocations: 27.98 kB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.701, allocations: 4.062 kB / 0.9871 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/1.701, allocations: 11.84 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/1.701, allocations: 8 kB / 0.9871 GB, free: 15.65 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.0002947/1.702, allocations: 143 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/1.702, allocations: 15.81 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/1.702, allocations: 21.53 kB / 0.9872 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.702, allocations: 11.94 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.702, allocations: 3.984 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.702, allocations: 0 / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/1.702, allocations: 233.5 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.702, allocations: 0 / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.702, allocations: 19.98 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.702, allocations: 0 / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.702, allocations: 8 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.702, allocations: 0 / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.702, allocations: 3.953 kB / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/1.703, allocations: 215.7 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.703, allocations: 104.8 kB / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/1.703, allocations: 0 / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/1.703, allocations: 8 kB / 0.9878 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/1.703, allocations: 11.98 kB / 0.9878 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/1.704, allocations: 11.89 kB / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002934/1.704, allocations: 164 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.228e-06/1.704, allocations: 0 / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005032/1.704, allocations: 35.92 kB / 0.988 GB, free: 14.58 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.003195/1.708, allocations: 1.088 MB / 0.9891 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000514/1.708, allocations: 123.2 kB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.708, allocations: 0 / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/1.708, allocations: 67.91 kB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/1.709, allocations: 25.41 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/1.712, allocations: 1.138 MB / 0.9904 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/1.713, allocations: 0.7205 MB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002573/1.713, allocations: 53.64 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/1.713, allocations: 59.41 kB / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of SimCode: time 1.252e-06/1.713, allocations: 0 / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/1.748, allocations: 4.154 MB / 0.9953 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005835/1.748, allocations: 249.3 kB / 0.9955 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/5.008, allocations: 0 / 0.9955 GB, free: 7.117 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