Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 110 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9519/0.9538, allocations: 168.7 MB / 1.269 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003086/0.9569, allocations: 1.652 MB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.9591, allocations: 1.493 MB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.9592, allocations: 4 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.9596, allocations: 59.67 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.9597, allocations: 51.77 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.96, allocations: 107.6 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.9602, allocations: 163.6 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.9603, allocations: 8.234 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.9604, allocations: 63.75 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.9606, allocations: 67.75 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.9606, allocations: 12 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.9607, allocations: 67.95 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.9608, allocations: 43.84 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.9609, allocations: 55.66 kB / 1.273 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.9612, allocations: 201 kB / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9612, allocations: 0 / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9612, allocations: 7.938 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.9612, allocations: 3.938 kB / 1.273 GB, free: 1.098 MB / 0.9669 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.0006245/0.9618, allocations: 470.3 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9618, allocations: 12.03 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.9619, allocations: 38.73 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.9619, allocations: 16.84 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.9623, allocations: 260 kB / 1.273 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.9623, allocations: 8.359 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.9624, allocations: 11.94 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.9626, allocations: 119.2 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9626, allocations: 0 / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9626, allocations: 4 kB / 1.274 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9626, allocations: 4 kB / 1.274 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.9629, allocations: 135.9 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.9631, allocations: 229.5 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.9635, allocations: 174.4 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.9636, allocations: 52.83 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.9636, allocations: 7.906 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.9638, allocations: 107.4 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.9638, allocations: 0 / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0004778/0.9643, allocations: 228.6 kB / 1.275 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.9644, allocations: 81.11 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.9646, allocations: 204.1 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.9646, allocations: 33.69 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.9647, allocations: 108.2 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.9647, allocations: 55.56 kB / 1.275 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.9648, allocations: 29.72 kB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9649, allocations: 334.8 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.965, allocations: 43.98 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.9651, allocations: 81.44 kB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.9654, allocations: 121.7 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9654, allocations: 7.875 kB / 1.276 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000321/0.9657, allocations: 189.6 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9657, allocations: 10.41 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9657, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9657, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9658, allocations: 31.92 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9658, allocations: 0 / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.9659, allocations: 11.95 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.9659, allocations: 7.984 kB / 1.276 GB, free: 13.68 MB / 0.9825 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.000126/0.966, allocations: 140.4 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.9661, allocations: 15.91 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.9661, allocations: 33.52 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9661, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.9662, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9662, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.9664, allocations: 241.4 kB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9664, allocations: 4 kB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.9664, allocations: 19.92 kB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9664, allocations: 4 kB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.9665, allocations: 0 / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.9665, allocations: 4 kB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9665, allocations: 0 / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.9668, allocations: 222.1 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.9669, allocations: 93 kB / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.9669, allocations: 8 kB / 1.277 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.9669, allocations: 3.938 kB / 1.277 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.967, allocations: 19.91 kB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.967, allocations: 8 kB / 1.277 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00015/0.9672, allocations: 159.2 kB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9672, allocations: 0 / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002513/0.9674, allocations: 35.94 kB / 1.277 GB, free: 12.59 MB / 0.9825 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.002143/0.9696, allocations: 1.096 MB / 1.278 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.9698, allocations: 111.9 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9698, allocations: 4 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.9699, allocations: 53.16 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.9702, allocations: 34.8 kB / 1.278 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.9725, allocations: 1.954 MB / 1.28 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.9729, allocations: 0.728 MB / 1.281 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.973, allocations: 41.67 kB / 1.281 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.9731, allocations: 59.41 kB / 1.281 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.9731, allocations: 0 / 1.281 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/1.002, allocations: 4.75 MB / 1.285 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/9.326, allocations: 11.56 kB / 1.285 GB, free: 3.914 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.348515033256263]