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.001493/0.001493, allocations: 113 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.001701/0.001701, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 8.02 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.97/2.97, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.002241/0.002241, allocations: 64.22 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 169.9 MB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2164/0.5963, allocations: 164.9 MB / 1.445 GB, free: 5.719 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.5986, allocations: 0.9626 MB / 1.446 GB, free: 4.754 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.5988, allocations: 15.88 kB / 1.446 GB, free: 4.738 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.5994, allocations: 162.9 kB / 1.446 GB, free: 4.578 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.6012, allocations: 0.6809 MB / 1.447 GB, free: 3.895 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.6019, allocations: 230.8 kB / 1.447 GB, free: 3.672 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.6026, allocations: 0.5305 MB / 1.447 GB, free: 3.137 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.603, allocations: 139.8 kB / 1.447 GB, free: 3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.6035, allocations: 239.1 kB / 1.448 GB, free: 2.766 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.6037, allocations: 175.2 kB / 1.448 GB, free: 2.594 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.6038, allocations: 16 kB / 1.448 GB, free: 2.578 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.6048, allocations: 0.5961 MB / 1.448 GB, free: 1.98 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.6049, allocations: 79.73 kB / 1.449 GB, free: 1.902 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.6051, allocations: 119.4 kB / 1.449 GB, free: 1.785 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.6059, allocations: 490.4 kB / 1.449 GB, free: 1.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6059, allocations: 3.938 kB / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6059, allocations: 4 kB / 1.449 GB, free: 1.297 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.6059, allocations: 0 / 1.449 GB, free: 1.297 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.001537/0.6074, allocations: 0.532 MB / 1.45 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6074, allocations: 12.03 kB / 1.45 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.6077, allocations: 47.81 kB / 1.45 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.6082, allocations: 232.4 kB / 1.45 GB, free: 432 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.6083, allocations: 12.33 kB / 1.45 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.6083, allocations: 16 kB / 1.45 GB, free: 404 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.6089, allocations: 235.1 kB / 1.45 GB, free: 164 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6089, allocations: 3.938 kB / 1.45 GB, free: 160 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.6089, allocations: 8 kB / 1.45 GB, free: 152 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.6089, allocations: 15.98 kB / 1.45 GB, free: 136 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.6096, allocations: 255.7 kB / 1.45 GB, free: 15.88 MB / 1.154 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.001439/0.611, allocations: 0.7995 MB / 1.451 GB, free: 15.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.6114, allocations: 138.5 kB / 1.451 GB, free: 14.87 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.6116, allocations: 108.9 kB / 1.451 GB, free: 14.76 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.6118, allocations: 31.97 kB / 1.451 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.6119, allocations: 42.5 kB / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.6119, allocations: 0 / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.0009342/0.6128, allocations: 297.3 kB / 1.452 GB, free: 14.38 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.6128, allocations: 51.41 kB / 1.452 GB, free: 14.32 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.6131, allocations: 245.1 kB / 1.452 GB, free: 14.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6132, allocations: 29.7 kB / 1.452 GB, free: 14.04 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6133, allocations: 140.3 kB / 1.452 GB, free: 13.9 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.6133, allocations: 55.52 kB / 1.452 GB, free: 13.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.6134, allocations: 37.7 kB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6136, allocations: 326.8 kB / 1.453 GB, free: 13.47 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.6138, allocations: 67.94 kB / 1.453 GB, free: 13.41 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.614, allocations: 113.6 kB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.6144, allocations: 166.5 kB / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6144, allocations: 0 / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004981/0.6149, allocations: 221.4 kB / 1.453 GB, free: 12.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.615, allocations: 10.28 kB / 1.453 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.615, allocations: 0 / 1.453 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.615, allocations: 4 kB / 1.453 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.6152, allocations: 31.92 kB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6152, allocations: 4 kB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.6154, allocations: 23.81 kB / 1.453 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.6154, allocations: 11.98 kB / 1.453 GB, free: 12.81 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.0001603/0.6156, allocations: 142.4 kB / 1.453 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.6156, allocations: 23.8 kB / 1.453 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.6157, allocations: 33.77 kB / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6157, allocations: 0 / 1.453 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6157, allocations: 7.938 kB / 1.453 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6157, allocations: 0 / 1.453 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6169, allocations: 0.6513 MB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6169, allocations: 4 kB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.6171, allocations: 23.98 kB / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.6171, allocations: 4.219 kB / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.6171, allocations: 8 kB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/0.6171, allocations: 7.922 kB / 1.454 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6171, allocations: 4 kB / 1.454 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.6177, allocations: 358.2 kB / 1.455 GB, free: 11.44 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.6177, allocations: 31.89 kB / 1.455 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.6178, allocations: 8 kB / 1.455 GB, free: 11.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.618, allocations: 7.984 kB / 1.455 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.618, allocations: 19.92 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.618, allocations: 8.047 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001856/0.6182, allocations: 180.5 kB / 1.455 GB, free: 11.19 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6182, allocations: 0 / 1.455 GB, free: 11.19 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003748/0.6186, allocations: 63.83 kB / 1.455 GB, free: 11.13 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.0002669/0.6189, allocations: 147.1 kB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.6194, allocations: 164.9 kB / 1.455 GB, free: 10.81 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6194, allocations: 4.125 kB / 1.455 GB, free: 10.81 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.6196, allocations: 91.81 kB / 1.455 GB, free: 10.72 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.6204, allocations: 122.2 kB / 1.455 GB, free: 10.6 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.6213, allocations: 448.2 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.6217, allocations: 0.7596 MB / 1.456 GB, free: 9.332 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.6219, allocations: 61.84 kB / 1.457 GB, free: 9.273 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.622, allocations: 19.44 kB / 1.457 GB, free: 9.254 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/0.622, allocations: 0 / 1.457 GB, free: 9.254 MB / 1.154 GB Notification: Performance of Templates: time 0.01025/0.6322, allocations: 4.56 MB / 1.461 GB, free: 4.762 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 9.91720575466752]