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.001861/0.001861, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002359/0.002359, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.544/1.544, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.84/2.84, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.519e-05, allocations: 5.234 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2258/0.2258, allocations: 142.1 MB / 1.09 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2286, allocations: 0.9466 MB / 1.091 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.2288, allocations: 11.88 kB / 1.091 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.2297, allocations: 150.9 kB / 1.091 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.2318, allocations: 0.6678 MB / 1.091 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008362/0.2327, allocations: 254.6 kB / 1.092 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009214/0.2336, allocations: 0.5187 MB / 1.092 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.234, allocations: 128.4 kB / 1.092 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.2347, allocations: 303 kB / 1.093 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.235, allocations: 155.5 kB / 1.093 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.235, allocations: 16 kB / 1.093 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2361, allocations: 466.4 kB / 1.093 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2363, allocations: 95.7 kB / 1.093 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.2364, allocations: 75.78 kB / 1.093 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.2373, allocations: 494.7 kB / 1.094 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2373, allocations: 7.938 kB / 1.094 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2373, allocations: 0 / 1.094 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2373, allocations: 0 / 1.094 GB, free: 8.668 MB / 0.9981 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.001691/0.239, allocations: 0.5243 MB / 1.094 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.239, allocations: 8.031 kB / 1.094 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.2393, allocations: 55.78 kB / 1.094 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.2399, allocations: 222.2 kB / 1.095 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2399, allocations: 20.27 kB / 1.095 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.2399, allocations: 12 kB / 1.095 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.2405, allocations: 254.8 kB / 1.095 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2405, allocations: 0 / 1.095 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.2406, allocations: 7.938 kB / 1.095 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.2406, allocations: 11.98 kB / 1.095 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.2412, allocations: 247.8 kB / 1.095 GB, free: 7.262 MB / 0.9981 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.001456/0.2427, allocations: 0.6314 MB / 1.096 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.2431, allocations: 134.5 kB / 1.096 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.2434, allocations: 104.9 kB / 1.096 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.2436, allocations: 35.98 kB / 1.096 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.2436, allocations: 42.5 kB / 1.096 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.2436, allocations: 0 / 1.096 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0009161/0.2445, allocations: 293.4 kB / 1.096 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2446, allocations: 59.39 kB / 1.096 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.2449, allocations: 190.5 kB / 1.097 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2449, allocations: 25.7 kB / 1.097 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.245, allocations: 152.3 kB / 1.097 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.2451, allocations: 43.64 kB / 1.097 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.2452, allocations: 33.7 kB / 1.097 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.2454, allocations: 326.8 kB / 1.097 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.2456, allocations: 71.94 kB / 1.097 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.2459, allocations: 181.8 kB / 1.097 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.2463, allocations: 170.5 kB / 1.098 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2463, allocations: 4 kB / 1.098 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005146/0.2468, allocations: 215.2 kB / 1.098 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2469, allocations: 4 kB / 1.098 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.2469, allocations: 4 kB / 1.098 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2469, allocations: 0 / 1.098 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2471, allocations: 31.92 kB / 1.098 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.2471, allocations: 12 kB / 1.098 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2473, allocations: 15.98 kB / 1.098 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2473, allocations: 7.984 kB / 1.098 GB, free: 4.367 MB / 0.9981 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.0001661/0.2475, allocations: 141.8 kB / 1.098 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.2475, allocations: 15.91 kB / 1.098 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.2476, allocations: 25.47 kB / 1.098 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2476, allocations: 3.984 kB / 1.098 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.2476, allocations: 4 kB / 1.098 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.2476, allocations: 11.91 kB / 1.098 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.2488, allocations: 0.5973 MB / 1.099 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.2488, allocations: 11.88 kB / 1.099 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.249, allocations: 31.98 kB / 1.099 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.249, allocations: 3.984 kB / 1.099 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.249, allocations: 8.219 kB / 1.099 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.249, allocations: 7.938 kB / 1.099 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.249, allocations: 0 / 1.099 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.2497, allocations: 345.3 kB / 1.099 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.2498, allocations: 35.78 kB / 1.099 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.2498, allocations: 4 kB / 1.099 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.25, allocations: 11.98 kB / 1.099 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.25, allocations: 15.98 kB / 1.099 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.25, allocations: 11.98 kB / 1.099 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001321/0.2502, allocations: 140 kB / 1.099 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 1.099 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003939/0.2506, allocations: 67.81 kB / 1.099 GB, free: 2.785 MB / 0.9981 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.0003307/0.2509, allocations: 147.1 kB / 1.099 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.2514, allocations: 163.8 kB / 1.1 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2514, allocations: 0 / 1.1 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2517, allocations: 96.38 kB / 1.1 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.2523, allocations: 92.83 kB / 1.1 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.2532, allocations: 432.1 kB / 1.1 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.2534, allocations: 145.2 kB / 1.1 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.2536, allocations: 53.67 kB / 1.1 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.2536, allocations: 20.48 kB / 1.1 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.2536, allocations: 4 kB / 1.1 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of Templates: time 0.6019/0.8556, allocations: 3.481 MB / 1.104 GB, free: 163.2 MB / 0.9981 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.671920545399189]