Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 120.2 kB / 16.81 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 192.7 kB / 17.77 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 68.77 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3864, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05369/0.4401, allocations: 46.36 MB / 1.307 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.4599, allocations: 11.53 MB / 1.319 GB, free: 2.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.4624, allocations: 59.69 kB / 1.319 GB, free: 2.852 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.4647, allocations: 0.722 MB / 1.319 GB, free: 2.125 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007343/0.4721, allocations: 2.322 MB / 1.322 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.4768, allocations: 1.545 MB / 1.323 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02707/0.5039, allocations: 22.83 MB / 1.345 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.516, allocations: 7.816 MB / 1.353 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01686/0.5329, allocations: 7.558 MB / 1.36 GB, free: 7.941 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.5448, allocations: 6.458 MB / 1.367 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00339/0.5482, allocations: 0.8281 MB / 1.368 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009388/0.5576, allocations: 2.064 MB / 1.37 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004749/0.5623, allocations: 2.215 MB / 1.372 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.5728, allocations: 4.508 MB / 1.376 GB, free: 7.812 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02073/0.5935, allocations: 13.1 MB / 1.389 GB, free: 10.67 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5935, allocations: 0 / 1.389 GB, free: 10.67 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5936, allocations: 0 / 1.389 GB, free: 10.67 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004464/0.594, allocations: 4 kB / 1.389 GB, free: 10.66 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02406/0.6181, allocations: 8.493 MB / 1.397 GB, free: 2.074 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.6181, allocations: 8.031 kB / 1.397 GB, free: 2.066 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005322/0.6234, allocations: 0.9018 MB / 1.398 GB, free: 1.16 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01832/0.6418, allocations: 7.893 MB / 1.406 GB, free: 9.188 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005067/0.6423, allocations: 419.8 kB / 1.406 GB, free: 8.77 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/0.6444, allocations: 0.5155 MB / 1.407 GB, free: 8.254 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.6629, allocations: 7.663 MB / 1.414 GB, free: 308 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.6631, allocations: 23.83 kB / 1.414 GB, free: 284 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008972/0.6639, allocations: 224 kB / 1.414 GB, free: 60 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.6642, allocations: 167.9 kB / 1.415 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.6772, allocations: 6.071 MB / 1.421 GB, free: 9.809 MB / 1.139 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.04857/0.7257, allocations: 29.44 MB / 1.449 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/0.7313, allocations: 3.231 MB / 1.452 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.7343, allocations: 1.819 MB / 1.454 GB, free: 6.066 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.7355, allocations: 0.9865 MB / 1.455 GB, free: 4.879 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.598e-05/0.7356, allocations: 77.06 kB / 1.455 GB, free: 4.793 MB / 1.17 GB Notification: Performance of pre-optimization done (n=253): time 4.167e-06/0.7356, allocations: 0 / 1.455 GB, free: 4.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=253): time 0.00901/0.7446, allocations: 4.718 MB / 1.46 GB, free: 72 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.7446, allocations: 81.45 kB / 1.46 GB, free: 15.98 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/0.7558, allocations: 6.436 MB / 1.466 GB, free: 9.531 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007448/0.7565, allocations: 85.64 kB / 1.466 GB, free: 9.441 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003368/0.7599, allocations: 3.03 MB / 1.469 GB, free: 6.395 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/0.7615, allocations: 0.9413 MB / 1.47 GB, free: 5.445 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.7627, allocations: 0.6873 MB / 1.471 GB, free: 4.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7628, allocations: 305.1 kB / 1.471 GB, free: 4.449 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.7655, allocations: 1.649 MB / 1.473 GB, free: 2.793 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003599/0.7691, allocations: 2.682 MB / 1.475 GB, free: 15.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007071/0.7761, allocations: 4.586 MB / 1.48 GB, free: 10.61 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.7761, allocations: 8 kB / 1.48 GB, free: 10.6 MB / 1.201 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009654/0.7858, allocations: 4.989 MB / 1.485 GB, free: 5.566 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.7858, allocations: 24.16 kB / 1.485 GB, free: 5.543 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.034e-05/0.7859, allocations: 32 kB / 1.485 GB, free: 5.512 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.242e-05/0.786, allocations: 52 kB / 1.485 GB, free: 5.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/0.7892, allocations: 0.8112 MB / 1.486 GB, free: 4.648 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.7902, allocations: 1.25 MB / 1.487 GB, free: 3.352 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/0.7956, allocations: 0.5317 MB / 1.487 GB, free: 2.816 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000604/0.7962, allocations: 160 kB / 1.488 GB, free: 2.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00769/0.8039, allocations: 3.898 MB / 1.491 GB, free: 14.75 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00431/0.8082, allocations: 2.678 MB / 1.494 GB, free: 11.63 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007856/0.8161, allocations: 4.586 MB / 1.498 GB, free: 6.578 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.169e-05/0.8161, allocations: 8 kB / 1.498 GB, free: 6.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01095/0.8271, allocations: 4.992 MB / 1.503 GB, free: 1.531 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.8271, allocations: 16 kB / 1.503 GB, free: 1.516 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.8271, allocations: 32 kB / 1.503 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.023e-05/0.8272, allocations: 48.75 kB / 1.503 GB, free: 1.438 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.8301, allocations: 0.7839 MB / 1.504 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.151e-05/0.8302, allocations: 67.78 kB / 1.504 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/0.8353, allocations: 397.9 kB / 1.505 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/0.8358, allocations: 152 kB / 1.505 GB, free: 48 kB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.837, allocations: 413.7 kB / 1.505 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002955/0.8399, allocations: 0.5862 MB / 1.506 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008766/0.8487, allocations: 3.902 MB / 1.51 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004695/0.8534, allocations: 2.998 MB / 1.512 GB, free: 8.039 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.8534, allocations: 3.938 kB / 1.512 GB, free: 8.035 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004015/0.8574, allocations: 1.278 MB / 1.514 GB, free: 6.734 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/0.8591, allocations: 59.98 kB / 1.514 GB, free: 6.676 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004163/0.8633, allocations: 203.8 kB / 1.514 GB, free: 6.477 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.8636, allocations: 145.8 kB / 1.514 GB, free: 6.332 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007428/0.871, allocations: 3.824 MB / 1.518 GB, free: 2.449 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01119/0.8822, allocations: 6.26 MB / 1.524 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002599/0.8848, allocations: 1.566 MB / 1.525 GB, free: 10.52 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.01004/0.8949, allocations: 4.558 MB / 1.53 GB, free: 5.961 MB / 1.248 GB Notification: Performance of Backend: time 1.753e-06/0.8949, allocations: 0 / 1.53 GB, free: 5.961 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01796/0.9128, allocations: 5.015 MB / 1.535 GB, free: 0.9531 MB / 1.248 GB Notification: Performance of SimCode: time 0.04439/0.9572, allocations: 16.61 MB / 1.551 GB, free: 396 kB / 1.264 GB Notification: Performance of Templates: time 0.8275/1.785, allocations: 146.4 MB / 1.694 GB, free: 153.3 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches