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.008129/0.008128, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.001676/0.001676, allocations: 186.2 kB / 16.67 MB, free: 5.523 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.185/2.185, allocations: 390.2 MB / 0.6648 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7806, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003025/0.7836, allocations: 1.646 MB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.7855, allocations: 1.491 MB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.7856, allocations: 0.8438 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.786, allocations: 49.27 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.7862, allocations: 57.22 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.7865, allocations: 103.6 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.7867, allocations: 173.1 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.7868, allocations: 5.547 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.7869, allocations: 58 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.787, allocations: 76.14 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.7871, allocations: 10.81 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.7872, allocations: 63.55 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.7873, allocations: 43.27 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.7874, allocations: 61.19 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.7877, allocations: 198.5 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7877, allocations: 0.6562 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7877, allocations: 0 / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7877, allocations: 0.7969 kB / 1.091 GB, free: 2.691 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.0005857/0.7883, allocations: 469 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7884, allocations: 9.188 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.7884, allocations: 34.61 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.7885, allocations: 16.81 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.7889, allocations: 266.5 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.789, allocations: 3.609 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.789, allocations: 11.88 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.7892, allocations: 114.7 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7893, allocations: 5.453 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7893, allocations: 0.8438 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7893, allocations: 5.422 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.7895, allocations: 144.5 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.7898, allocations: 238.8 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.7902, allocations: 175.3 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.7903, allocations: 55.36 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.7904, allocations: 5.781 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.7906, allocations: 107.1 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.7906, allocations: 0 / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005221/0.7911, allocations: 225.9 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.7912, allocations: 79.61 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.7914, allocations: 206.1 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.7914, allocations: 37.3 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.7915, allocations: 110.1 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.7915, allocations: 43.67 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.7916, allocations: 32.66 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.7917, allocations: 325.3 kB / 1.094 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.7918, allocations: 50.86 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.7919, allocations: 71.75 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.7921, allocations: 129.6 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7921, allocations: 3.938 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003426/0.7925, allocations: 191.6 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.7925, allocations: 7.969 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7925, allocations: 4.516 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7925, allocations: 1.469 kB / 1.094 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.7927, allocations: 29.12 kB / 1.094 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7927, allocations: 5 kB / 1.094 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.7928, allocations: 12.17 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.7928, allocations: 6.234 kB / 1.094 GB, free: 392 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.0001115/0.7929, allocations: 143.2 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.793, allocations: 15.73 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.024e-05/0.793, allocations: 25.98 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.793, allocations: 6.234 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7931, allocations: 0.7812 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7931, allocations: 1.344 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.7932, allocations: 239.3 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7933, allocations: 0.8594 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.7934, allocations: 21.92 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.7934, allocations: 1.547 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.7934, allocations: 7.938 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7934, allocations: 0.8125 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7934, allocations: 1.344 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.7938, allocations: 221 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.7938, allocations: 89.72 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.7939, allocations: 7.141 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.874e-05/0.794, allocations: 7.5 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.794, allocations: 9.75 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.794, allocations: 6.156 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001562/0.7942, allocations: 155.1 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7942, allocations: 0 / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002895/0.7945, allocations: 37.19 kB / 1.095 GB, free: 15.65 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.001611/0.7961, allocations: 1.106 MB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.7965, allocations: 130.2 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7965, allocations: 0.75 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7966, allocations: 57.3 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.797, allocations: 33.02 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.7995, allocations: 1.936 MB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.7997, allocations: 0.7282 MB / 1.099 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.7999, allocations: 48.3 kB / 1.099 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8, allocations: 63.89 kB / 1.099 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.8, allocations: 0 / 1.099 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.8265, allocations: 4.695 MB / 1.104 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.872, allocations: 10 kB / 1.104 GB, free: 11.78 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 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.csv","/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) Reference file matches