Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 214.9 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.77 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2056/0.5697, allocations: 177.1 MB / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.5734, allocations: 1.859 MB / 1.528 GB, free: 4.809 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.5738, allocations: 19.81 kB / 1.528 GB, free: 4.789 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.5746, allocations: 230.5 kB / 1.528 GB, free: 4.562 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.5768, allocations: 0.7856 MB / 1.529 GB, free: 3.773 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.5789, allocations: 0.8922 MB / 1.529 GB, free: 2.883 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.5802, allocations: 0.8688 MB / 1.53 GB, free: 2.012 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.5807, allocations: 239.5 kB / 1.531 GB, free: 1.773 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.5819, allocations: 0.58 MB / 1.531 GB, free: 1.191 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.5823, allocations: 278.9 kB / 1.531 GB, free: 0.918 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.5824, allocations: 24 kB / 1.531 GB, free: 0.8945 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.5845, allocations: 1.192 MB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.5847, allocations: 123.6 kB / 1.533 GB, free: 15.58 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.5849, allocations: 203 kB / 1.533 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.5865, allocations: 0.9151 MB / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5865, allocations: 0 / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5865, allocations: 4 kB / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5865, allocations: 0 / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001787/0.5883, allocations: 0.7243 MB / 1.535 GB, free: 13.7 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5883, allocations: 12.03 kB / 1.535 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.705e-05/0.5884, allocations: 66.53 kB / 1.535 GB, free: 13.62 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.5894, allocations: 159.6 kB / 1.535 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.5901, allocations: 303.6 kB / 1.535 GB, free: 13.13 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.5901, allocations: 20.66 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.5902, allocations: 28 kB / 1.535 GB, free: 13.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.5909, allocations: 387.5 kB / 1.535 GB, free: 12.69 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5909, allocations: 4 kB / 1.535 GB, free: 12.68 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.5909, allocations: 11.94 kB / 1.535 GB, free: 12.67 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.483e-05/0.5909, allocations: 24.58 kB / 1.535 GB, free: 12.65 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.5917, allocations: 346.3 kB / 1.536 GB, free: 12.31 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.5939, allocations: 1.742 MB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.5944, allocations: 226.6 kB / 1.538 GB, free: 10.18 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5946, allocations: 128.8 kB / 1.538 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.5951, allocations: 71.92 kB / 1.538 GB, free: 9.977 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5951, allocations: 34.56 kB / 1.538 GB, free: 9.934 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 2.235e-06/0.5951, allocations: 0 / 1.538 GB, free: 9.934 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001001/0.5961, allocations: 397.1 kB / 1.538 GB, free: 9.539 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.5961, allocations: 55.41 kB / 1.538 GB, free: 9.473 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.5966, allocations: 357.7 kB / 1.539 GB, free: 9.117 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.5966, allocations: 29.7 kB / 1.539 GB, free: 9.082 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.5968, allocations: 204.3 kB / 1.539 GB, free: 8.879 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.5968, allocations: 67.42 kB / 1.539 GB, free: 8.812 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.5969, allocations: 53.7 kB / 1.539 GB, free: 8.754 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5971, allocations: 346.7 kB / 1.539 GB, free: 8.406 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.5973, allocations: 87.94 kB / 1.539 GB, free: 8.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.5975, allocations: 153.9 kB / 1.54 GB, free: 8.148 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.598, allocations: 263.6 kB / 1.54 GB, free: 7.871 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.598, allocations: 0 / 1.54 GB, free: 7.871 MB / 1.232 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005712/0.5986, allocations: 303.1 kB / 1.54 GB, free: 7.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5986, allocations: 4 kB / 1.54 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5986, allocations: 4 kB / 1.54 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5986, allocations: 0 / 1.54 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.5989, allocations: 56.09 kB / 1.54 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5989, allocations: 0 / 1.54 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.5991, allocations: 39.72 kB / 1.54 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.5991, allocations: 12 kB / 1.54 GB, free: 7.457 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001693/0.5993, allocations: 165.6 kB / 1.54 GB, free: 7.285 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.5994, allocations: 35.81 kB / 1.54 GB, free: 7.25 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.6, allocations: 300.8 kB / 1.541 GB, free: 6.949 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.6, allocations: 4 kB / 1.541 GB, free: 6.945 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6, allocations: 3.984 kB / 1.541 GB, free: 6.941 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6, allocations: 3.938 kB / 1.541 GB, free: 6.938 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.6014, allocations: 0.8652 MB / 1.542 GB, free: 5.988 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6014, allocations: 8 kB / 1.542 GB, free: 5.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.6016, allocations: 44.25 kB / 1.542 GB, free: 5.938 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6016, allocations: 8 kB / 1.542 GB, free: 5.93 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6016, allocations: 8 kB / 1.542 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6016, allocations: 4 kB / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6016, allocations: 7.938 kB / 1.542 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.6023, allocations: 453.8 kB / 1.542 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6024, allocations: 59.81 kB / 1.542 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.6024, allocations: 7.938 kB / 1.542 GB, free: 5.352 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.6027, allocations: 15.98 kB / 1.542 GB, free: 5.336 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.6027, allocations: 23.91 kB / 1.542 GB, free: 5.312 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6027, allocations: 4.047 kB / 1.542 GB, free: 5.309 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000288/0.603, allocations: 263.2 kB / 1.542 GB, free: 5.051 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.603, allocations: 0 / 1.542 GB, free: 5.051 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004377/0.6035, allocations: 99.88 kB / 1.543 GB, free: 4.953 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001072/0.6045, allocations: 1.039 MB / 1.544 GB, free: 3.852 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.6051, allocations: 232 kB / 1.544 GB, free: 3.625 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6051, allocations: 0 / 1.544 GB, free: 3.625 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.6053, allocations: 127.7 kB / 1.544 GB, free: 3.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6064, allocations: 217.7 kB / 1.544 GB, free: 3.293 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.6107, allocations: 3.305 MB / 1.547 GB, free: 15.8 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.6111, allocations: 0.8035 MB / 1.548 GB, free: 14.97 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.6114, allocations: 87.22 kB / 1.548 GB, free: 14.88 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.6115, allocations: 107.4 kB / 1.548 GB, free: 14.78 MB / 1.248 GB Notification: Performance of SimCode: time 5.41e-07/0.6115, allocations: 0 / 1.548 GB, free: 14.78 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.6497, allocations: 11.07 MB / 1.559 GB, free: 3.961 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.57, allocations: 13.8 kB / 1.559 GB, free: 3.949 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senTemIn.T in file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemIn.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! Error: Could not read variable senTemOut.T in file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemOut.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.493473525999434]