Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001825/0.001825, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.00245/0.00245, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.604/1.604, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.66/2.66, allocations: 443.5 MB / 0.7321 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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: 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_10_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_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 71.88 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9409/0.9432, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2299/1.173, allocations: 162 MB / 1.377 GB, free: 4.633 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002549/1.176, allocations: 0.9742 MB / 1.378 GB, free: 3.656 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/1.176, allocations: 11.88 kB / 1.378 GB, free: 3.645 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/1.177, allocations: 166.9 kB / 1.378 GB, free: 3.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/1.179, allocations: 0.6692 MB / 1.378 GB, free: 2.809 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008031/1.18, allocations: 243.1 kB / 1.379 GB, free: 2.574 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009495/1.181, allocations: 0.5266 MB / 1.379 GB, free: 2.047 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/1.181, allocations: 144.4 kB / 1.379 GB, free: 1.902 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/1.182, allocations: 247.1 kB / 1.38 GB, free: 1.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/1.182, allocations: 171.3 kB / 1.38 GB, free: 1.492 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/1.182, allocations: 16 kB / 1.38 GB, free: 1.477 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/1.183, allocations: 0.5922 MB / 1.38 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/1.184, allocations: 83.72 kB / 1.38 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/1.184, allocations: 115.5 kB / 1.38 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/1.185, allocations: 493 kB / 1.381 GB, free: 212 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.185, allocations: 4 kB / 1.381 GB, free: 208 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/1.185, allocations: 0 / 1.381 GB, free: 208 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.185, allocations: 0 / 1.381 GB, free: 208 kB / 1.076 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.001697/1.186, allocations: 0.6073 MB / 1.382 GB, free: 15.55 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.187, allocations: 8.031 kB / 1.382 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/1.187, allocations: 55.72 kB / 1.382 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/1.187, allocations: 290.5 kB / 1.382 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.187, allocations: 12.33 kB / 1.382 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/1.187, allocations: 12 kB / 1.382 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/1.188, allocations: 246.9 kB / 1.382 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/1.188, allocations: 7.938 kB / 1.382 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/1.188, allocations: 11.98 kB / 1.382 GB, free: 14.87 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/1.188, allocations: 11.98 kB / 1.382 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/1.189, allocations: 247.8 kB / 1.382 GB, free: 14.62 MB / 1.092 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.001511/1.19, allocations: 0.8357 MB / 1.383 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/1.191, allocations: 130.5 kB / 1.383 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.191, allocations: 108.9 kB / 1.383 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/1.191, allocations: 194.2 kB / 1.384 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.191, allocations: 34.5 kB / 1.384 GB, free: 13.19 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/1.191, allocations: 0 / 1.384 GB, free: 13.19 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0008766/1.192, allocations: 307.7 kB / 1.384 GB, free: 12.89 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/1.192, allocations: 55.41 kB / 1.384 GB, free: 12.82 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.192, allocations: 245.1 kB / 1.384 GB, free: 12.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.192, allocations: 25.7 kB / 1.384 GB, free: 12.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/1.192, allocations: 140.3 kB / 1.384 GB, free: 12.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/1.193, allocations: 43.58 kB / 1.384 GB, free: 12.36 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/1.193, allocations: 37.7 kB / 1.384 GB, free: 12.31 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.193, allocations: 326.8 kB / 1.385 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/1.193, allocations: 71.94 kB / 1.385 GB, free: 11.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/1.193, allocations: 113.1 kB / 1.385 GB, free: 11.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.194, allocations: 158.5 kB / 1.385 GB, free: 11.63 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.194, allocations: 4 kB / 1.385 GB, free: 11.63 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004757/1.194, allocations: 215 kB / 1.385 GB, free: 11.41 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.194, allocations: 11.94 kB / 1.385 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.194, allocations: 0 / 1.385 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.194, allocations: 0 / 1.385 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/1.194, allocations: 31.92 kB / 1.385 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.194, allocations: 0 / 1.385 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/1.194, allocations: 35.92 kB / 1.385 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/1.195, allocations: 11.98 kB / 1.385 GB, free: 11.32 MB / 1.092 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.0001507/1.195, allocations: 141.3 kB / 1.386 GB, free: 11.18 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/1.195, allocations: 23.84 kB / 1.386 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/1.195, allocations: 29.77 kB / 1.386 GB, free: 11.13 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.195, allocations: 3.938 kB / 1.386 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.195, allocations: 7.875 kB / 1.386 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/1.195, allocations: 0 / 1.386 GB, free: 11.12 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/1.196, allocations: 0.6796 MB / 1.386 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.196, allocations: 4.219 kB / 1.386 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.196, allocations: 31.97 kB / 1.386 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.196, allocations: 4 kB / 1.386 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.196, allocations: 4 kB / 1.386 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/1.196, allocations: 7.938 kB / 1.386 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.196, allocations: 4 kB / 1.386 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/1.197, allocations: 353.2 kB / 1.387 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.197, allocations: 116.9 kB / 1.387 GB, free: 9.789 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/1.197, allocations: 8 kB / 1.387 GB, free: 9.781 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.197, allocations: 16 kB / 1.387 GB, free: 9.766 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/1.197, allocations: 15.91 kB / 1.387 GB, free: 9.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/1.197, allocations: 8 kB / 1.387 GB, free: 9.742 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001816/1.197, allocations: 180.5 kB / 1.387 GB, free: 9.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.197, allocations: 0 / 1.387 GB, free: 9.57 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003805/1.198, allocations: 55.94 kB / 1.387 GB, free: 9.516 MB / 1.092 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.000424/1.198, allocations: 164.9 kB / 1.387 GB, free: 9.352 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004808/1.199, allocations: 163.8 kB / 1.387 GB, free: 9.191 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.199, allocations: 0 / 1.387 GB, free: 9.191 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/1.199, allocations: 91.81 kB / 1.387 GB, free: 9.102 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/1.2, allocations: 131.2 kB / 1.388 GB, free: 8.977 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/1.2, allocations: 453.8 kB / 1.388 GB, free: 8.488 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/1.201, allocations: 0.748 MB / 1.389 GB, free: 7.711 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002127/1.201, allocations: 69.83 kB / 1.389 GB, free: 7.645 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/1.201, allocations: 23.44 kB / 1.389 GB, free: 7.621 MB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/1.201, allocations: 0 / 1.389 GB, free: 7.621 MB / 1.092 GB Notification: Performance of Templates: time 0.01286/1.214, allocations: 4.549 MB / 1.393 GB, free: 3.137 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.698127129115164]