Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001781/0.001781, allocations: 107.1 kB / 16.45 MB, free: 6.5 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.002229/0.002229, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.499/1.499, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_11_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.002021/0.002021, allocations: 71.89 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7944, allocations: 169.9 MB / 1.278 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1938/0.9882, allocations: 164.7 MB / 1.439 GB, free: 8.02 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.9904, allocations: 0.9786 MB / 1.44 GB, free: 7.039 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.9908, allocations: 7.938 kB / 1.44 GB, free: 7.031 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.9915, allocations: 159 kB / 1.44 GB, free: 6.875 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.9933, allocations: 0.6613 MB / 1.441 GB, free: 6.211 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.994, allocations: 215.4 kB / 1.441 GB, free: 6.004 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008607/0.9949, allocations: 0.5304 MB / 1.442 GB, free: 5.469 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.9953, allocations: 144.1 kB / 1.442 GB, free: 5.324 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.9958, allocations: 247.1 kB / 1.442 GB, free: 5.082 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.9961, allocations: 171.3 kB / 1.442 GB, free: 4.914 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.9962, allocations: 12 kB / 1.442 GB, free: 4.902 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.9972, allocations: 0.5883 MB / 1.443 GB, free: 4.312 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.9974, allocations: 83.72 kB / 1.443 GB, free: 4.23 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.9975, allocations: 111.4 kB / 1.443 GB, free: 4.121 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.9985, allocations: 498.4 kB / 1.443 GB, free: 3.633 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9985, allocations: 0 / 1.443 GB, free: 3.633 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9985, allocations: 0 / 1.443 GB, free: 3.633 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.9985, allocations: 4 kB / 1.443 GB, free: 3.629 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001571/1, allocations: 0.5995 MB / 1.444 GB, free: 2.98 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1, allocations: 12.03 kB / 1.444 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.075e-05/1, allocations: 46.55 kB / 1.444 GB, free: 2.914 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/1.001, allocations: 51.77 kB / 1.444 GB, free: 2.863 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/1.001, allocations: 299.5 kB / 1.444 GB, free: 2.531 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.001, allocations: 12.33 kB / 1.444 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/1.001, allocations: 16 kB / 1.444 GB, free: 2.504 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/1.002, allocations: 239.1 kB / 1.445 GB, free: 2.266 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.002, allocations: 0 / 1.445 GB, free: 2.266 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/1.002, allocations: 8 kB / 1.445 GB, free: 2.258 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/1.002, allocations: 8 kB / 1.445 GB, free: 2.25 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/1.002, allocations: 259.6 kB / 1.445 GB, free: 1.996 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.004, allocations: 0.8279 MB / 1.446 GB, free: 1.094 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.004, allocations: 146.4 kB / 1.446 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/1.004, allocations: 104.9 kB / 1.446 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/1.005, allocations: 186.2 kB / 1.446 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.005, allocations: 42.5 kB / 1.446 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/1.005, allocations: 0 / 1.446 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.000912/1.005, allocations: 301.3 kB / 1.446 GB, free: 272 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.006, allocations: 55.41 kB / 1.446 GB, free: 204 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/1.006, allocations: 241 kB / 1.447 GB, free: 15.95 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/1.006, allocations: 29.7 kB / 1.447 GB, free: 15.92 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.006, allocations: 132.3 kB / 1.447 GB, free: 15.79 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/1.006, allocations: 55.53 kB / 1.447 GB, free: 15.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/1.006, allocations: 37.7 kB / 1.447 GB, free: 15.69 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.006, allocations: 334.8 kB / 1.447 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/1.006, allocations: 71.88 kB / 1.447 GB, free: 15.28 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/1.007, allocations: 110.5 kB / 1.447 GB, free: 15.16 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.007, allocations: 170.4 kB / 1.448 GB, free: 14.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.007, allocations: 0 / 1.448 GB, free: 14.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000506/1.008, allocations: 216.5 kB / 1.448 GB, free: 14.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.008, allocations: 7.938 kB / 1.448 GB, free: 14.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.008, allocations: 8 kB / 1.448 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.008, allocations: 0 / 1.448 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.008, allocations: 31.97 kB / 1.448 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.008, allocations: 0 / 1.448 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/1.008, allocations: 23.88 kB / 1.448 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/1.008, allocations: 4 kB / 1.448 GB, free: 14.7 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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.0001466/1.008, allocations: 149.8 kB / 1.448 GB, free: 14.54 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/1.008, allocations: 31.78 kB / 1.448 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/1.008, allocations: 21.84 kB / 1.448 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.008, allocations: 4 kB / 1.448 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.008, allocations: 0 / 1.448 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.008, allocations: 3.984 kB / 1.448 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/1.009, allocations: 0.6796 MB / 1.449 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.009, allocations: 0 / 1.449 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.01, allocations: 31.92 kB / 1.449 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.01, allocations: 0 / 1.449 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/1.01, allocations: 8.219 kB / 1.449 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.01, allocations: 11.98 kB / 1.449 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.01, allocations: 0 / 1.449 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/1.01, allocations: 361.2 kB / 1.449 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.01, allocations: 113 kB / 1.449 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/1.01, allocations: 4 kB / 1.449 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.01, allocations: 11.98 kB / 1.449 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.011, allocations: 23.86 kB / 1.449 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/1.011, allocations: 8 kB / 1.449 GB, free: 13.11 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001777/1.011, allocations: 176.5 kB / 1.449 GB, free: 12.94 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 3.938 kB / 1.449 GB, free: 12.93 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003624/1.011, allocations: 59.94 kB / 1.45 GB, free: 12.88 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001035/1.012, allocations: 0.9267 MB / 1.45 GB, free: 11.9 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004849/1.013, allocations: 179.8 kB / 1.451 GB, free: 11.72 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.013, allocations: 0 / 1.451 GB, free: 11.72 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.013, allocations: 87.88 kB / 1.451 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007596/1.014, allocations: 135.2 kB / 1.451 GB, free: 11.51 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/1.017, allocations: 2.469 MB / 1.453 GB, free: 8.91 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/1.017, allocations: 0.7519 MB / 1.454 GB, free: 8.133 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002041/1.018, allocations: 57.91 kB / 1.454 GB, free: 8.078 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/1.018, allocations: 67.41 kB / 1.454 GB, free: 8.012 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/1.018, allocations: 4 kB / 1.454 GB, free: 8.008 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/1.058, allocations: 6.913 MB / 1.461 GB, free: 1.254 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/9.286, allocations: 7.797 kB / 1.461 GB, free: 1.25 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable res.sta_b.T in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable res.sta_b.T from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.382375810062513]