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.001501/0.001501, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.002042/0.002042, allocations: 217.4 kB / 22.99 MB, free: 4.965 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.814/2.814, allocations: 476 MB / 0.7707 GB, free: 4.738 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.002159/0.002159, allocations: 70.5 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.366, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1983/0.5643, allocations: 142.2 MB / 1.423 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.5665, allocations: 0.9431 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.5667, allocations: 11.94 kB / 1.424 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.5673, allocations: 155 kB / 1.424 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.569, allocations: 0.6536 MB / 1.424 GB, free: 11.48 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.5697, allocations: 221.9 kB / 1.425 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006961/0.5703, allocations: 0.5265 MB / 1.425 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.5707, allocations: 136.4 kB / 1.425 GB, free: 10.6 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.5711, allocations: 239.1 kB / 1.425 GB, free: 10.36 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.5714, allocations: 167.3 kB / 1.426 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.5714, allocations: 12 kB / 1.426 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.5722, allocations: 470.6 kB / 1.426 GB, free: 9.727 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.5723, allocations: 83.72 kB / 1.426 GB, free: 9.645 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.5725, allocations: 91.59 kB / 1.426 GB, free: 9.555 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.5732, allocations: 478.3 kB / 1.427 GB, free: 9.086 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.5732, allocations: 4 kB / 1.427 GB, free: 9.082 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5732, allocations: 0 / 1.427 GB, free: 9.082 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5732, allocations: 0 / 1.427 GB, free: 9.082 MB / 1.123 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.001436/0.5746, allocations: 0.5243 MB / 1.427 GB, free: 8.527 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5747, allocations: 12.03 kB / 1.427 GB, free: 8.516 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.5749, allocations: 43.83 kB / 1.427 GB, free: 8.473 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.5754, allocations: 232.4 kB / 1.427 GB, free: 8.219 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5754, allocations: 12.33 kB / 1.427 GB, free: 8.207 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.5755, allocations: 23.92 kB / 1.427 GB, free: 8.184 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.5761, allocations: 235.1 kB / 1.428 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5761, allocations: 0 / 1.428 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.5761, allocations: 12 kB / 1.428 GB, free: 7.938 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.5761, allocations: 15.92 kB / 1.428 GB, free: 7.922 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.5768, allocations: 255.5 kB / 1.428 GB, free: 7.672 MB / 1.123 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.001343/0.5781, allocations: 0.6469 MB / 1.429 GB, free: 6.988 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.5785, allocations: 134.5 kB / 1.429 GB, free: 6.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.5787, allocations: 110.2 kB / 1.429 GB, free: 6.738 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.5789, allocations: 27.98 kB / 1.429 GB, free: 6.711 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.5789, allocations: 38.5 kB / 1.429 GB, free: 6.664 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5789, allocations: 0 / 1.429 GB, free: 6.664 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.0008895/0.5798, allocations: 297.4 kB / 1.429 GB, free: 6.367 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5799, allocations: 59.39 kB / 1.429 GB, free: 6.297 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.5801, allocations: 180.1 kB / 1.429 GB, free: 6.113 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.5801, allocations: 33.7 kB / 1.429 GB, free: 6.074 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.5803, allocations: 140.3 kB / 1.43 GB, free: 5.934 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.5803, allocations: 55.53 kB / 1.43 GB, free: 5.879 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.5804, allocations: 33.7 kB / 1.43 GB, free: 5.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5806, allocations: 326.8 kB / 1.43 GB, free: 5.512 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5808, allocations: 67.94 kB / 1.43 GB, free: 5.445 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.5811, allocations: 191.5 kB / 1.43 GB, free: 5.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.5814, allocations: 165.6 kB / 1.43 GB, free: 5.062 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5814, allocations: 0 / 1.43 GB, free: 5.062 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00046/0.5819, allocations: 205.4 kB / 1.431 GB, free: 4.855 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5819, allocations: 8.062 kB / 1.431 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5819, allocations: 0 / 1.431 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.5819, allocations: 3.938 kB / 1.431 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5821, allocations: 35.92 kB / 1.431 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5821, allocations: 7.922 kB / 1.431 GB, free: 4.801 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.5823, allocations: 15.89 kB / 1.431 GB, free: 4.785 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.5823, allocations: 11.98 kB / 1.431 GB, free: 4.773 MB / 1.123 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.0001439/0.5824, allocations: 137.8 kB / 1.431 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.5825, allocations: 15.91 kB / 1.431 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.5826, allocations: 37.39 kB / 1.431 GB, free: 4.578 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5826, allocations: 4 kB / 1.431 GB, free: 4.574 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5826, allocations: 0 / 1.431 GB, free: 4.574 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5826, allocations: 0 / 1.431 GB, free: 4.574 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.5837, allocations: 0.6013 MB / 1.431 GB, free: 3.914 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5837, allocations: 4.062 kB / 1.431 GB, free: 3.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5838, allocations: 31.97 kB / 1.431 GB, free: 3.879 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.5839, allocations: 8 kB / 1.431 GB, free: 3.871 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5839, allocations: 4 kB / 1.431 GB, free: 3.867 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5839, allocations: 11.88 kB / 1.431 GB, free: 3.855 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5839, allocations: 4 kB / 1.431 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.5844, allocations: 345.2 kB / 1.432 GB, free: 3.477 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.5845, allocations: 39.89 kB / 1.432 GB, free: 3.438 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.5845, allocations: 3.984 kB / 1.432 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.5847, allocations: 12 kB / 1.432 GB, free: 3.422 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5848, allocations: 15.91 kB / 1.432 GB, free: 3.406 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.5848, allocations: 4 kB / 1.432 GB, free: 3.402 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001174/0.585, allocations: 136.5 kB / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/0.585, allocations: 0 / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003602/0.5853, allocations: 63.89 kB / 1.432 GB, free: 3.207 MB / 1.123 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.0003138/0.5856, allocations: 139.1 kB / 1.432 GB, free: 3.062 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.5861, allocations: 176.4 kB / 1.432 GB, free: 2.891 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5861, allocations: 0 / 1.432 GB, free: 2.891 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.5864, allocations: 91.81 kB / 1.432 GB, free: 2.801 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.587, allocations: 88.31 kB / 1.433 GB, free: 2.719 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.5878, allocations: 481.7 kB / 1.433 GB, free: 2.191 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.5879, allocations: 141.2 kB / 1.433 GB, free: 2.031 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.588, allocations: 23.44 kB / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of SimCode: time 3.11e-07/0.588, allocations: 0 / 1.433 GB, free: 2.008 MB / 1.123 GB Notification: Performance of Templates: time 0.006103/0.5941, allocations: 3.303 MB / 1.436 GB, free: 14.73 MB / 1.139 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.162306397687644]