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.006475/0.006475, allocations: 105 kB / 15.74 MB, free: 5.992 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.001438/0.001438, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.229/2.229, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8632/0.8647, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002937/0.8677, allocations: 1.641 MB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.8698, allocations: 1.488 MB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.8699, allocations: 0.9688 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.8705, allocations: 58.14 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.8706, allocations: 53.12 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.8709, allocations: 106.6 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.8712, allocations: 164.2 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.8713, allocations: 14.02 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.8714, allocations: 62.7 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.8716, allocations: 64.56 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.8716, allocations: 14.22 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.8718, allocations: 67.95 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.8718, allocations: 44.09 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.8719, allocations: 60.91 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.8723, allocations: 195 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8723, allocations: 4.656 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8723, allocations: 0 / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.8723, allocations: 1.219 kB / 1.091 GB, free: 2.672 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.0006122/0.8729, allocations: 464.1 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.873, allocations: 9.375 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.873, allocations: 38.19 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.8731, allocations: 21.77 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.8735, allocations: 262.4 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8735, allocations: 2.781 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.8735, allocations: 12.11 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8738, allocations: 123.4 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8738, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.8738, allocations: 5.328 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8738, allocations: 2.156 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.8741, allocations: 140 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.8743, allocations: 235.6 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.8747, allocations: 174.2 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.8749, allocations: 56.14 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.8749, allocations: 13.22 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.8751, allocations: 107.1 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.8751, allocations: 0 / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005348/0.8757, allocations: 222.1 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8757, allocations: 87.41 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.876, allocations: 201.8 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.876, allocations: 32.17 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.8761, allocations: 115.4 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.8761, allocations: 47.28 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.8762, allocations: 33.34 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.8763, allocations: 324.6 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.8764, allocations: 49.94 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.8765, allocations: 74.91 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.8768, allocations: 122.9 kB / 1.094 GB, free: 484 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8768, allocations: 3.938 kB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003925/0.8772, allocations: 194.7 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8772, allocations: 6.047 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8772, allocations: 0.9062 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8773, allocations: 1.625 kB / 1.094 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.8774, allocations: 28.64 kB / 1.094 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.8774, allocations: 1.656 kB / 1.094 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.8775, allocations: 19.67 kB / 1.094 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.8775, allocations: 5.625 kB / 1.094 GB, free: 368 kB / 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.0001323/0.8777, allocations: 143.6 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.8777, allocations: 15.89 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.885e-05/0.8778, allocations: 26.92 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8778, allocations: 2.219 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8778, allocations: 0 / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8778, allocations: 0.5625 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.8781, allocations: 236.1 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8781, allocations: 8.547 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.8782, allocations: 25.69 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8782, allocations: 1.578 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.8783, allocations: 8.531 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8783, allocations: 0.9375 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8783, allocations: 0 / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.8787, allocations: 213.5 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.8788, allocations: 90.55 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.8789, allocations: 11.5 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.8789, allocations: 6.453 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.879, allocations: 9.062 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.879, allocations: 7.328 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001974/0.8792, allocations: 154.3 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8792, allocations: 0.625 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000333/0.8796, allocations: 36.14 kB / 1.095 GB, free: 15.63 MB / 0.8731 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.001902/0.8815, allocations: 1.092 MB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.8818, allocations: 130 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8818, allocations: 0.9062 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.882, allocations: 61.69 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.8823, allocations: 36.28 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.8851, allocations: 1.946 MB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.8855, allocations: 0.7237 MB / 1.099 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.8857, allocations: 52.75 kB / 1.099 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8858, allocations: 60.16 kB / 1.099 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of SimCode: time 8.52e-07/0.8858, allocations: 0.9062 kB / 1.099 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.9109, allocations: 4.753 MB / 1.104 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.937, allocations: 15.67 kB / 1.104 GB, free: 11.75 MB / 0.8731 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