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.001972/0.001972, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001981/0.001981, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.891/2.891, allocations: 359 MB / 0.6048 GB, free: 10.94 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.305e-06/2.305e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.014e-05/4.244e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2453/0.2453, allocations: 157.3 MB / 0.94 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.2477, allocations: 0.9694 MB / 0.941 GB, free: 14 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.248, allocations: 19.88 kB / 0.941 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.2486, allocations: 151 kB / 0.9411 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.2506, allocations: 0.6725 MB / 0.9418 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.2514, allocations: 243.4 kB / 0.942 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.2522, allocations: 0.5225 MB / 0.9425 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.2525, allocations: 144.4 kB / 0.9427 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.2531, allocations: 299 kB / 0.9429 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.2534, allocations: 151.5 kB / 0.9431 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.2534, allocations: 12 kB / 0.9431 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.2544, allocations: 470.5 kB / 0.9435 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2545, allocations: 83.73 kB / 0.9436 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2547, allocations: 79.83 kB / 0.9437 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.2555, allocations: 498.5 kB / 0.9442 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2556, allocations: 4 kB / 0.9442 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2556, allocations: 0 / 0.9442 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2556, allocations: 0 / 0.9442 GB, free: 10.69 MB / 0.9011 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.001563/0.2571, allocations: 0.6237 MB / 0.9448 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.2572, allocations: 8.031 kB / 0.9448 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.2575, allocations: 71.75 kB / 0.9449 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.258, allocations: 239.5 kB / 0.9451 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.258, allocations: 20.25 kB / 0.9451 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.258, allocations: 16 kB / 0.9451 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.2585, allocations: 182.9 kB / 0.9453 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2585, allocations: 0 / 0.9453 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.2585, allocations: 4 kB / 0.9453 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.2586, allocations: 15.78 kB / 0.9453 GB, free: 9.449 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.259, allocations: 155.8 kB / 0.9455 GB, free: 9.297 MB / 0.9011 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.001352/0.2604, allocations: 0.6699 MB / 0.9461 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2606, allocations: 87.02 kB / 0.9462 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2608, allocations: 71.69 kB / 0.9463 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.261, allocations: 35.98 kB / 0.9463 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.2611, allocations: 37.39 kB / 0.9463 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.2611, allocations: 0 / 0.9463 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0007177/0.2618, allocations: 201.4 kB / 0.9465 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2618, allocations: 51.41 kB / 0.9466 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.2621, allocations: 263.7 kB / 0.9468 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2621, allocations: 25.7 kB / 0.9469 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2623, allocations: 203.1 kB / 0.9471 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.2623, allocations: 55.53 kB / 0.9471 GB, free: 7.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.2624, allocations: 43.36 kB / 0.9471 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000309/0.2627, allocations: 0.504 MB / 0.9476 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2629, allocations: 35.97 kB / 0.9477 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.2631, allocations: 152.1 kB / 0.9478 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2634, allocations: 111 kB / 0.9479 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2634, allocations: 4 kB / 0.9479 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003938/0.2638, allocations: 155.9 kB / 0.9481 GB, free: 6.438 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2638, allocations: 6.5 kB / 0.9481 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2638, allocations: 0 / 0.9481 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2638, allocations: 4 kB / 0.9481 GB, free: 6.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.264, allocations: 27.92 kB / 0.9481 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.264, allocations: 3.938 kB / 0.9481 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2641, allocations: 19.88 kB / 0.9481 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2642, allocations: 8 kB / 0.9481 GB, free: 6.371 MB / 0.9011 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.0001729/0.2643, allocations: 176.6 kB / 0.9483 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.2644, allocations: 23.91 kB / 0.9483 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.2645, allocations: 25.47 kB / 0.9484 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.2645, allocations: 0 / 0.9484 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2645, allocations: 0 / 0.9484 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2645, allocations: 7.922 kB / 0.9484 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2656, allocations: 0.6081 MB / 0.949 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2656, allocations: 7.922 kB / 0.949 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2658, allocations: 23.98 kB / 0.949 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2658, allocations: 4 kB / 0.949 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2658, allocations: 11.98 kB / 0.949 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2658, allocations: 7.938 kB / 0.949 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2658, allocations: 3.984 kB / 0.949 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.2663, allocations: 353.8 kB / 0.9494 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.2664, allocations: 35.78 kB / 0.9494 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.2664, allocations: 8 kB / 0.9494 GB, free: 4.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2666, allocations: 7.984 kB / 0.9494 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.2666, allocations: 15.98 kB / 0.9494 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.2667, allocations: 4 kB / 0.9494 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001726/0.2668, allocations: 184.8 kB / 0.9496 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.2668, allocations: 0 / 0.9496 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003559/0.2672, allocations: 63.89 kB / 0.9497 GB, free: 4.691 MB / 0.9011 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.0002966/0.2675, allocations: 147 kB / 0.9498 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.2679, allocations: 119.6 kB / 0.9499 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2679, allocations: 0 / 0.9499 GB, free: 4.414 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.268, allocations: 79.52 kB / 0.95 GB, free: 4.332 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.2687, allocations: 85.91 kB / 0.9501 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.2695, allocations: 428.5 kB / 0.9505 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2697, allocations: 145.2 kB / 0.9506 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.2699, allocations: 53.42 kB / 0.9507 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.2699, allocations: 16.5 kB / 0.9507 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of SimCode: time 5.21e-07/0.2699, allocations: 0 / 0.9507 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of Templates: time 0.009916/0.2799, allocations: 3.6 MB / 0.9542 GB, free: 44 kB / 0.9011 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] 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.578417622018605]