Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.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.001409/0.001409, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001628/0.001628, allocations: 213.5 kB / 23 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.537/3.537, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit") [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.002664/0.002664, allocations: 65.56 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5472, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit): time 0.1379/0.6852, allocations: 109.4 MB / 1.434 GB, free: 3.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05051/0.7357, allocations: 26.11 MB / 1.459 GB, free: 9.082 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008062/0.7437, allocations: 178.5 kB / 1.46 GB, free: 8.906 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006338/0.7501, allocations: 1.517 MB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01986/0.7699, allocations: 4.894 MB / 1.466 GB, free: 2.465 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.7823, allocations: 3.307 MB / 1.469 GB, free: 15.17 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01913/0.8015, allocations: 8.814 MB / 1.478 GB, free: 6.324 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/0.807, allocations: 2.146 MB / 1.48 GB, free: 4.109 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01319/0.8202, allocations: 3.933 MB / 1.484 GB, free: 180 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006979/0.8272, allocations: 2.419 MB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.8287, allocations: 284 kB / 1.486 GB, free: 13.47 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008624/0.8373, allocations: 2.191 MB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.8391, allocations: 0.7704 MB / 1.489 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/0.8428, allocations: 1.388 MB / 1.491 GB, free: 9.105 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.8577, allocations: 5.333 MB / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.8578, allocations: 0 / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8578, allocations: 0 / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001517/0.8579, allocations: 0 / 1.496 GB, free: 3.754 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.01027/0.8682, allocations: 3.619 MB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.8682, allocations: 8.031 kB / 1.499 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.8705, allocations: 453.9 kB / 1.5 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006712/0.8773, allocations: 2.55 MB / 1.502 GB, free: 13 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.8774, allocations: 135.5 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/0.8777, allocations: 195.7 kB / 1.503 GB, free: 12.68 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.8821, allocations: 2.217 MB / 1.505 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.467e-05/0.8822, allocations: 3.953 kB / 1.505 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.8823, allocations: 76 kB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/0.8824, allocations: 55.92 kB / 1.505 GB, free: 10.19 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.8853, allocations: 1.415 MB / 1.506 GB, free: 8.773 MB / 1.201 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.01756/0.9028, allocations: 6.656 MB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.9052, allocations: 0.9396 MB / 1.514 GB, free: 1.027 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.9062, allocations: 0.5222 MB / 1.514 GB, free: 0.5 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.9076, allocations: 312.7 kB / 1.514 GB, free: 196 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.244e-05/0.9077, allocations: 51.56 kB / 1.514 GB, free: 136 kB / 1.201 GB Notification: Performance of pre-optimization done (n=127): time 6.292e-06/0.9077, allocations: 0 / 1.514 GB, free: 136 kB / 1.201 GB Notification: Performance of matching and sorting (n=127): time 0.005124/0.9128, allocations: 1.695 MB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.9129, allocations: 64.41 kB / 1.516 GB, free: 14.35 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.9169, allocations: 2.044 MB / 1.518 GB, free: 12.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.9171, allocations: 53.7 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/0.9185, allocations: 1.217 MB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007741/0.9192, allocations: 475.9 kB / 1.52 GB, free: 10.54 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.9198, allocations: 319.4 kB / 1.52 GB, free: 10.21 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.92, allocations: 305.1 kB / 1.52 GB, free: 9.914 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.9211, allocations: 488.6 kB / 1.521 GB, free: 9.434 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.9228, allocations: 1.092 MB / 1.522 GB, free: 8.145 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.9254, allocations: 1.356 MB / 1.523 GB, free: 6.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.9254, allocations: 4 kB / 1.523 GB, free: 6.656 MB / 1.217 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004241/0.9296, allocations: 1.703 MB / 1.525 GB, free: 4.941 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.9296, allocations: 12.78 kB / 1.525 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/0.9297, allocations: 15.98 kB / 1.525 GB, free: 4.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/0.9301, allocations: 64.83 kB / 1.525 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.9314, allocations: 339.5 kB / 1.525 GB, free: 4.516 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.9331, allocations: 1.421 MB / 1.527 GB, free: 2.992 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.9354, allocations: 154.9 kB / 1.527 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.9356, allocations: 83.95 kB / 1.527 GB, free: 2.758 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002197/0.9378, allocations: 0.8865 MB / 1.528 GB, free: 1.867 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001609/0.9394, allocations: 1.095 MB / 1.529 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00251/0.9419, allocations: 1.348 MB / 1.53 GB, free: 15.1 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.104e-05/0.9419, allocations: 4 kB / 1.53 GB, free: 15.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=195) (initialization_lambda0): time 0.004125/0.946, allocations: 1.699 MB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.9461, allocations: 12 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-05/0.9461, allocations: 15.98 kB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.9464, allocations: 60.83 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.9477, allocations: 347.4 kB / 1.532 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.9494, allocations: 1.424 MB / 1.534 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.9517, allocations: 139.2 kB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.9519, allocations: 79.91 kB / 1.534 GB, free: 11.22 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (190): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006532/0.9525, allocations: 280 kB / 1.534 GB, free: 10.94 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/0.9535, allocations: 254.4 kB / 1.534 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.9582, allocations: 2.218 MB / 1.537 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002785/0.961, allocations: 1.631 MB / 1.538 GB, free: 6.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.961, allocations: 4 kB / 1.538 GB, free: 6.816 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/0.9628, allocations: 485.4 kB / 1.539 GB, free: 6.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.9632, allocations: 31.98 kB / 1.539 GB, free: 6.309 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9644, allocations: 55.97 kB / 1.539 GB, free: 6.254 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.9647, allocations: 121.1 kB / 1.539 GB, free: 6.137 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003932/0.9686, allocations: 1.842 MB / 1.541 GB, free: 4.285 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005059/0.9737, allocations: 2.849 MB / 1.543 GB, free: 1.418 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001287/0.975, allocations: 0.7097 MB / 1.544 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002849/0.9778, allocations: 1.365 MB / 1.546 GB, free: 15.33 MB / 1.248 GB Notification: Performance of Backend: time 7.41e-07/0.9778, allocations: 0 / 1.546 GB, free: 15.33 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.008236/0.986, allocations: 2.865 MB / 1.548 GB, free: 12.41 MB / 1.248 GB Notification: Performance of SimCode: time 0.01347/0.9995, allocations: 6.058 MB / 1.554 GB, free: 6.281 MB / 1.248 GB Notification: Performance of Templates: time 1.071/2.071, allocations: 66.95 MB / 1.62 GB, free: 270.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_BuriedPipes_Examples_TwoPipesConduit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[438]=317.648102 File[2503]=63072000.000000 Error: Could not read variable gro.ports[1 in file Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat. Warning: Get data of variable gro.ports[1 from file Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat failed! Error: Could not read variable 1].T in file Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat. Warning: Get data of variable 1].T from file Buildings_12_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.TwoPipesConduit_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 37.381889625998156]