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.00179/0.00179, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002287/0.002287, allocations: 211.7 kB / 23 MB, free: 4.57 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.509/1.509, allocations: 230.6 MB / 256.8 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.928/2.928, allocations: 476.7 MB / 0.7714 GB, free: 4.262 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.002065/0.002065, allocations: 65.53 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3637, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2138/0.5775, allocations: 164.9 MB / 1.446 GB, free: 5.711 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.5798, allocations: 0.9665 MB / 1.447 GB, free: 4.742 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.58, allocations: 15.88 kB / 1.447 GB, free: 4.727 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.5807, allocations: 162.9 kB / 1.447 GB, free: 4.566 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.5825, allocations: 0.6731 MB / 1.447 GB, free: 3.891 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.5832, allocations: 238.5 kB / 1.448 GB, free: 3.66 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008636/0.5841, allocations: 0.5304 MB / 1.448 GB, free: 3.125 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.5845, allocations: 136.4 kB / 1.448 GB, free: 2.988 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.5849, allocations: 243.1 kB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.5852, allocations: 167.3 kB / 1.449 GB, free: 2.586 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.5852, allocations: 16 kB / 1.449 GB, free: 2.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.5863, allocations: 0.5961 MB / 1.449 GB, free: 1.973 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.5864, allocations: 91.7 kB / 1.449 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.5866, allocations: 115.4 kB / 1.449 GB, free: 1.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.5874, allocations: 494.4 kB / 1.45 GB, free: 1.285 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5874, allocations: 0 / 1.45 GB, free: 1.285 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5874, allocations: 0 / 1.45 GB, free: 1.285 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.5874, allocations: 0 / 1.45 GB, free: 1.285 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.001536/0.5889, allocations: 0.5281 MB / 1.45 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.589, allocations: 12.03 kB / 1.45 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.5892, allocations: 47.78 kB / 1.45 GB, free: 0.668 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.5898, allocations: 228.5 kB / 1.451 GB, free: 428 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5898, allocations: 12.33 kB / 1.451 GB, free: 416 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.5898, allocations: 20 kB / 1.451 GB, free: 396 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.5904, allocations: 231.1 kB / 1.451 GB, free: 160 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5904, allocations: 4 kB / 1.451 GB, free: 156 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.5904, allocations: 15.98 kB / 1.451 GB, free: 140 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.5904, allocations: 11.94 kB / 1.451 GB, free: 128 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.591, allocations: 251.7 kB / 1.451 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.001448/0.5925, allocations: 0.8073 MB / 1.452 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.5928, allocations: 138.6 kB / 1.452 GB, free: 14.86 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.593, allocations: 100.8 kB / 1.452 GB, free: 14.76 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.5933, allocations: 43.94 kB / 1.452 GB, free: 14.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.5933, allocations: 42.5 kB / 1.452 GB, free: 14.66 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.5933, allocations: 3.938 kB / 1.452 GB, free: 14.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.0008566/0.5942, allocations: 300.8 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5942, allocations: 51.41 kB / 1.453 GB, free: 14.3 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.5945, allocations: 245.1 kB / 1.453 GB, free: 14.05 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.5945, allocations: 29.7 kB / 1.453 GB, free: 14.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5946, allocations: 136.3 kB / 1.453 GB, free: 13.88 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.5947, allocations: 55.53 kB / 1.453 GB, free: 13.83 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.5948, allocations: 33.7 kB / 1.453 GB, free: 13.79 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.595, allocations: 330.8 kB / 1.453 GB, free: 13.46 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.5952, allocations: 67.95 kB / 1.454 GB, free: 13.39 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5954, allocations: 106.4 kB / 1.454 GB, free: 13.28 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.5958, allocations: 166.5 kB / 1.454 GB, free: 13.11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5958, allocations: 4 kB / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004841/0.5962, allocations: 217.4 kB / 1.454 GB, free: 12.88 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5963, allocations: 7.938 kB / 1.454 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5963, allocations: 0 / 1.454 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5963, allocations: 4 kB / 1.454 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.5965, allocations: 31.91 kB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5965, allocations: 4 kB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.5967, allocations: 27.94 kB / 1.454 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5967, allocations: 8 kB / 1.454 GB, free: 12.8 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.0001511/0.5968, allocations: 138.4 kB / 1.454 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.5969, allocations: 23.8 kB / 1.454 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.452e-05/0.597, allocations: 33.77 kB / 1.454 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.597, allocations: 0 / 1.454 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.597, allocations: 0 / 1.454 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.597, allocations: 0 / 1.454 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.5982, allocations: 0.6554 MB / 1.455 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5982, allocations: 8.031 kB / 1.455 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.5983, allocations: 23.98 kB / 1.455 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5983, allocations: 7.984 kB / 1.455 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5984, allocations: 4 kB / 1.455 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5984, allocations: 3.938 kB / 1.455 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5984, allocations: 7.938 kB / 1.455 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.5989, allocations: 364.4 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.599, allocations: 43.83 kB / 1.455 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.5991, allocations: 11.98 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.5992, allocations: 8 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.5993, allocations: 15.91 kB / 1.455 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5993, allocations: 8 kB / 1.455 GB, free: 11.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001953/0.5995, allocations: 176.5 kB / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.5995, allocations: 0 / 1.456 GB, free: 11.17 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003681/0.5999, allocations: 59.92 kB / 1.456 GB, free: 11.11 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.0002801/0.6001, allocations: 135.2 kB / 1.456 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.6006, allocations: 167.8 kB / 1.456 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6006, allocations: 0 / 1.456 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6009, allocations: 91.89 kB / 1.456 GB, free: 10.71 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.6016, allocations: 131.4 kB / 1.456 GB, free: 10.59 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.6025, allocations: 485.9 kB / 1.457 GB, free: 10.06 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.603, allocations: 0.748 MB / 1.457 GB, free: 9.289 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.6031, allocations: 23.42 kB / 1.457 GB, free: 9.266 MB / 1.154 GB Notification: Performance of SimCode: time 3.91e-07/0.6031, allocations: 0 / 1.457 GB, free: 9.266 MB / 1.154 GB Notification: Performance of Templates: time 0.007257/0.6103, allocations: 3.728 MB / 1.461 GB, free: 5.566 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/jenkins1/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] "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time [Calling sys.exit(0), Time elapsed: 12.399650314007886]