Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_10_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.001359/0.001359, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 195 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7348/0.7364, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003361/0.7398, allocations: 1.646 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.742, allocations: 1.487 MB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.7421, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.7427, allocations: 55.69 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.7429, allocations: 51.77 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.7433, allocations: 114.2 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.7436, allocations: 167.6 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.7436, allocations: 12.22 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.7438, allocations: 59.77 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.744, allocations: 68.55 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.744, allocations: 15.94 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.7442, allocations: 67.91 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.7443, allocations: 47.83 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.7444, allocations: 55.67 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.7448, allocations: 193.7 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7448, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7448, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.7448, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 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.0008089/0.7456, allocations: 466.5 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.7457, allocations: 8.031 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.7458, allocations: 38.69 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.7458, allocations: 24.73 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.7462, allocations: 255.9 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7463, allocations: 4.375 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.7463, allocations: 11.94 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.7466, allocations: 111.3 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7466, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.7466, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7466, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.7469, allocations: 143.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.7472, allocations: 237.5 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.7476, allocations: 174.4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.7477, allocations: 48.84 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.7477, allocations: 11.98 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.748, allocations: 119.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.748, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000473/0.7485, allocations: 213.4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.7486, allocations: 85.11 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.7488, allocations: 202.6 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.7488, allocations: 29.7 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.7489, allocations: 112.1 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.749, allocations: 47.44 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.749, allocations: 37.7 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7492, allocations: 322.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.7493, allocations: 59.91 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.7494, allocations: 76.52 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.7496, allocations: 124.4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7496, allocations: 4.047 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003235/0.75, allocations: 201.3 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.75, allocations: 8 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.75, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.75, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.7501, allocations: 23.98 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7502, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.7502, allocations: 11.84 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.7502, allocations: 7.938 kB / 1.024 GB, free: 11.01 MB / 0.7794 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.0001204/0.7504, allocations: 147.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.7504, allocations: 15.81 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.7505, allocations: 21.53 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.7505, allocations: 4 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7505, allocations: 0 / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7505, allocations: 3.984 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.7507, allocations: 229.5 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7507, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.7508, allocations: 23.97 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.7508, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7508, allocations: 8 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.7508, allocations: 7.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7508, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.7512, allocations: 214.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.7512, allocations: 92.86 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.7513, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.7513, allocations: 11.98 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.7514, allocations: 7.984 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.7514, allocations: 12 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001423/0.7516, allocations: 156.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7516, allocations: 0 / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002587/0.7518, allocations: 36 kB / 1.025 GB, free: 9.941 MB / 0.7794 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.001544/0.7534, allocations: 1.096 MB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.7537, allocations: 135.9 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7537, allocations: 0 / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.7538, allocations: 63.92 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.7541, allocations: 48.44 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.7563, allocations: 1.925 MB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.7566, allocations: 0.7202 MB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.7567, allocations: 49.66 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.7568, allocations: 59.41 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7568, allocations: 0 / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.7829, allocations: 4.59 MB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.746, allocations: 12.88 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches