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.001953/0.001953, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002535/0.002535, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.847/2.847, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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 2.154e-06/2.154e-06, allocations: 0.7656 kB / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.814e-05, allocations: 3.969 kB / 0.7864 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2383/0.2384, allocations: 142.1 MB / 0.9251 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.2411, allocations: 0.9466 MB / 0.9261 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.2417, allocations: 15.88 kB / 0.9261 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.2426, allocations: 154.9 kB / 0.9262 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.2451, allocations: 0.6608 MB / 0.9269 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.246, allocations: 247.4 kB / 0.9271 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.247, allocations: 0.5187 MB / 0.9276 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.2475, allocations: 144.4 kB / 0.9278 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008748/0.2484, allocations: 303 kB / 0.9281 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.2488, allocations: 143.6 kB / 0.9282 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.2488, allocations: 16 kB / 0.9282 GB, free: 10 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.2499, allocations: 470.4 kB / 0.9287 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.2501, allocations: 95.7 kB / 0.9287 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.2504, allocations: 79.78 kB / 0.9288 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2517, allocations: 0.4908 MB / 0.9293 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2517, allocations: 0 / 0.9293 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2517, allocations: 0 / 0.9293 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.2517, allocations: 0 / 0.9293 GB, free: 8.879 MB / 0.8386 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.001979/0.2537, allocations: 0.5281 MB / 0.9298 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2537, allocations: 12.03 kB / 0.9298 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.2542, allocations: 71.7 kB / 0.9299 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.2548, allocations: 234.6 kB / 0.9301 GB, free: 7.984 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.2548, allocations: 16.27 kB / 0.9301 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.2549, allocations: 16 kB / 0.9301 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.2555, allocations: 246.8 kB / 0.9304 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2555, allocations: 0 / 0.9304 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2556, allocations: 4 kB / 0.9304 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.2556, allocations: 15.77 kB / 0.9304 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.2563, allocations: 255.8 kB / 0.9306 GB, free: 7.438 MB / 0.8386 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.001632/0.2579, allocations: 0.647 MB / 0.9313 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.2586, allocations: 138.5 kB / 0.9314 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.2589, allocations: 112.9 kB / 0.9315 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.2591, allocations: 31.98 kB / 0.9315 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.2591, allocations: 34.55 kB / 0.9316 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.2591, allocations: 0 / 0.9316 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0009798/0.2601, allocations: 309.3 kB / 0.9319 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.2602, allocations: 51.41 kB / 0.9319 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2604, allocations: 190.3 kB / 0.9321 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.2605, allocations: 29.7 kB / 0.9321 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.2606, allocations: 144.3 kB / 0.9323 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.2607, allocations: 55.53 kB / 0.9323 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2608, allocations: 33.7 kB / 0.9324 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.261, allocations: 330.8 kB / 0.9327 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2612, allocations: 71.94 kB / 0.9327 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.2615, allocations: 179.6 kB / 0.9329 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.2619, allocations: 169.2 kB / 0.9331 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2619, allocations: 0 / 0.9331 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005459/0.2625, allocations: 221.4 kB / 0.9333 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2625, allocations: 4 kB / 0.9333 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2625, allocations: 4 kB / 0.9333 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.2625, allocations: 0 / 0.9333 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2627, allocations: 31.92 kB / 0.9333 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2627, allocations: 7.922 kB / 0.9333 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2629, allocations: 15.95 kB / 0.9333 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.2629, allocations: 7.984 kB / 0.9334 GB, free: 4.512 MB / 0.8386 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.0001778/0.2631, allocations: 141.9 kB / 0.9335 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.2632, allocations: 19.91 kB / 0.9335 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.878e-05/0.2633, allocations: 29.45 kB / 0.9335 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2633, allocations: 0 / 0.9335 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2633, allocations: 0 / 0.9335 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2633, allocations: 7.875 kB / 0.9335 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2645, allocations: 0.6051 MB / 0.9341 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.2645, allocations: 11.94 kB / 0.9341 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2647, allocations: 27.97 kB / 0.9342 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2647, allocations: 4 kB / 0.9342 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2647, allocations: 8 kB / 0.9342 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2647, allocations: 3.938 kB / 0.9342 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2647, allocations: 4 kB / 0.9342 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.2653, allocations: 341.5 kB / 0.9345 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.2654, allocations: 43.77 kB / 0.9346 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2655, allocations: 3.984 kB / 0.9346 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2656, allocations: 12 kB / 0.9346 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.2657, allocations: 11.97 kB / 0.9346 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2657, allocations: 12 kB / 0.9346 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001447/0.2659, allocations: 128.5 kB / 0.9347 GB, free: 3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.2659, allocations: 0 / 0.9347 GB, free: 3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004018/0.2663, allocations: 67.89 kB / 0.9348 GB, free: 2.934 MB / 0.8386 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.0003487/0.2666, allocations: 147.1 kB / 0.9349 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.2671, allocations: 182.7 kB / 0.9351 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2672, allocations: 0 / 0.9351 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2674, allocations: 91.81 kB / 0.9352 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.2681, allocations: 96.56 kB / 0.9353 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.2691, allocations: 426.9 kB / 0.9357 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2693, allocations: 145.1 kB / 0.9358 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000237/0.2695, allocations: 53.44 kB / 0.9359 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2696, allocations: 20.5 kB / 0.9359 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.2696, allocations: 0 / 0.9359 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of Templates: time 0.009759/0.2794, allocations: 3.6 MB / 0.9394 GB, free: 14.23 MB / 0.8542 GB " [Timeout remaining time 300] 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: 8.61982437595725]