Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_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.006173/0.006173, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001301/0.001301, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.08 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003065/0.2559, allocations: 1.652 MB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2581, allocations: 1.481 MB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.2582, allocations: 4 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.2587, allocations: 55.69 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.2589, allocations: 51.77 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.2593, allocations: 110.6 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.2595, allocations: 163.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.2596, allocations: 16.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2597, allocations: 67.77 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2599, allocations: 63.75 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2599, allocations: 11.94 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2601, allocations: 71.95 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.2601, allocations: 43.91 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.2602, allocations: 59.59 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.2605, allocations: 190.3 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2605, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2606, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.2606, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 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.0005772/0.2612, allocations: 471.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2612, allocations: 11.97 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.2612, allocations: 38.73 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.2613, allocations: 16.75 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.2617, allocations: 259.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2617, allocations: 4.375 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.2618, allocations: 7.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.262, allocations: 123.3 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.262, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.262, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.262, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.2623, allocations: 139.9 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.2625, allocations: 233.4 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2629, allocations: 178.4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.263, allocations: 52.83 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.263, allocations: 11.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2633, allocations: 103.4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2633, allocations: 3.938 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005403/0.2638, allocations: 233.4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.2639, allocations: 81.11 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2641, allocations: 210.5 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2642, allocations: 29.69 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.2642, allocations: 116.1 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.2643, allocations: 39.45 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.2644, allocations: 29.72 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2645, allocations: 330.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2646, allocations: 47.98 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2648, allocations: 74.55 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.265, allocations: 124.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.265, allocations: 3.938 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003742/0.2654, allocations: 185.5 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2654, allocations: 11.94 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2654, allocations: 4.062 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2654, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2656, allocations: 35.92 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2656, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.2657, allocations: 11.84 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2657, allocations: 7.984 kB / 1.095 GB, free: 10.53 MB / 0.8575 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.2658, allocations: 141.8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2659, allocations: 15.81 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.266, allocations: 29.52 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.266, allocations: 4 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.266, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.266, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2662, allocations: 237.5 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.2662, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.2663, allocations: 19.92 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2663, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.2663, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2663, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2664, allocations: 3.984 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.2667, allocations: 208.8 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.2668, allocations: 92.94 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.2668, allocations: 8 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.2669, allocations: 0 / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2669, allocations: 15.98 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.267, allocations: 4 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001424/0.2671, allocations: 156.2 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2671, allocations: 7.938 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002696/0.2674, allocations: 43.94 kB / 1.095 GB, free: 9.445 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/0.2689, allocations: 1.094 MB / 1.097 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.2692, allocations: 121.6 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2692, allocations: 0 / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.2694, allocations: 63.91 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2697, allocations: 35.97 kB / 1.097 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.272, allocations: 1.944 MB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.2722, allocations: 0.7201 MB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000112/0.2724, allocations: 45.67 kB / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.2725, allocations: 67.34 kB / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.2725, allocations: 0 / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.2972, allocations: 4.696 MB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.398, allocations: 15.81 kB / 1.104 GB, free: 0.7695 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,combiTimeTable.y[1] Variables in the result:combiTimeTable.columns[1],combiTimeTable.columns[2],combiTimeTable.columns[3],combiTimeTable.columns[4],combiTimeTable.columns[5],combiTimeTable.columns[6],combiTimeTable.columns[7],combiTimeTable.columns[8],combiTimeTable.columns[9],combiTimeTable.extrapolation,combiTimeTable.nout,combiTimeTable.offset[1],combiTimeTable.shiftTime,combiTimeTable.smoothness,combiTimeTable.startTime,combiTimeTable.t_max,combiTimeTable.t_maxScaled,combiTimeTable.t_min,combiTimeTable.t_minScaled,combiTimeTable.tableOnFile,combiTimeTable.timeEvents,combiTimeTable.timeScale,combiTimeTable.verboseExtrapolation,combiTimeTable.verboseRead,combiTimeTable.y[1],combiTimeTable.y[2],combiTimeTable.y[3],combiTimeTable.y[4],combiTimeTable.y[5],combiTimeTable.y[6],combiTimeTable.y[7],combiTimeTable.y[8],combiTimeTable.y[9],pipeDataToBeRead.nCol,time