Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.001377/0.001377, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001478/0.001478, allocations: 209.8 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.746/2.746, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [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.002115/0.002115, allocations: 67.12 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2766/0.6266, allocations: 214.9 MB / 1.494 GB, free: 4.289 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.6467, allocations: 12.55 MB / 1.506 GB, free: 7.699 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.6489, allocations: 87.19 kB / 1.506 GB, free: 7.613 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.6517, allocations: 0.9471 MB / 1.507 GB, free: 6.66 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.6571, allocations: 1.884 MB / 1.509 GB, free: 4.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.6605, allocations: 1.27 MB / 1.51 GB, free: 3.512 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005195/0.6657, allocations: 3.289 MB / 1.513 GB, free: 216 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.6674, allocations: 0.8096 MB / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.6781, allocations: 4.223 MB / 1.518 GB, free: 11.14 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.68, allocations: 0.9215 MB / 1.519 GB, free: 10.21 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.6803, allocations: 80 kB / 1.519 GB, free: 10.14 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.6819, allocations: 0.5959 MB / 1.52 GB, free: 9.539 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005583/0.6824, allocations: 462.4 kB / 1.52 GB, free: 9.086 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.6832, allocations: 0.552 MB / 1.521 GB, free: 8.531 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.6856, allocations: 1.548 MB / 1.522 GB, free: 6.977 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6856, allocations: 0 / 1.522 GB, free: 6.977 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6856, allocations: 0 / 1.522 GB, free: 6.977 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.6856, allocations: 4 kB / 1.522 GB, free: 6.973 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002543/0.6882, allocations: 1.588 MB / 1.524 GB, free: 5.352 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6882, allocations: 12.03 kB / 1.524 GB, free: 5.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/0.6889, allocations: 207 kB / 1.524 GB, free: 5.137 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.6906, allocations: 0.8263 MB / 1.525 GB, free: 4.262 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.6908, allocations: 176.8 kB / 1.525 GB, free: 4.062 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.691, allocations: 87.94 kB / 1.525 GB, free: 3.977 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.6925, allocations: 1.015 MB / 1.526 GB, free: 2.852 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.6926, allocations: 3.938 kB / 1.526 GB, free: 2.848 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.6926, allocations: 40 kB / 1.526 GB, free: 2.809 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6927, allocations: 24 kB / 1.526 GB, free: 2.785 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/0.6936, allocations: 0.503 MB / 1.527 GB, free: 2.277 MB / 1.217 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.004493/0.6981, allocations: 3.737 MB / 1.53 GB, free: 14.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.6987, allocations: 404.7 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.6991, allocations: 255.8 kB / 1.531 GB, free: 13.59 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.6992, allocations: 23.98 kB / 1.531 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.6993, allocations: 50.44 kB / 1.531 GB, free: 13.51 MB / 1.232 GB Notification: Performance of pre-optimization done (n=31): time 2.896e-06/0.6993, allocations: 4 kB / 1.531 GB, free: 13.51 MB / 1.232 GB Notification: Performance of matching and sorting (n=31): time 0.001745/0.701, allocations: 0.609 MB / 1.531 GB, free: 12.89 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000245/0.7013, allocations: 397.5 kB / 1.532 GB, free: 12.41 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.7024, allocations: 0.853 MB / 1.533 GB, free: 11.54 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.7024, allocations: 37.64 kB / 1.533 GB, free: 11.49 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.7029, allocations: 0.5748 MB / 1.533 GB, free: 10.91 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.703, allocations: 115.4 kB / 1.533 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.7032, allocations: 85.64 kB / 1.533 GB, free: 10.71 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7033, allocations: 322 kB / 1.534 GB, free: 10.39 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.7035, allocations: 95.69 kB / 1.534 GB, free: 10.29 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.7043, allocations: 0.9852 MB / 1.535 GB, free: 9.055 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.7049, allocations: 320.6 kB / 1.535 GB, free: 8.695 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7049, allocations: 3.938 kB / 1.535 GB, free: 8.691 MB / 1.232 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008753/0.7058, allocations: 462.2 kB / 1.536 GB, free: 8.227 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7058, allocations: 11.94 kB / 1.536 GB, free: 8.215 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.7058, allocations: 4 kB / 1.536 GB, free: 8.211 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.7061, allocations: 74.02 kB / 1.536 GB, free: 8.133 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.7063, allocations: 55.91 kB / 1.536 GB, free: 8.078 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.7091, allocations: 2.994 MB / 1.539 GB, free: 4.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.7097, allocations: 51.94 kB / 1.539 GB, free: 4.832 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.7097, allocations: 20 kB / 1.539 GB, free: 4.812 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.7102, allocations: 275.2 kB / 1.539 GB, free: 4.535 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.7105, allocations: 103.3 kB / 1.539 GB, free: 4.434 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.7107, allocations: 100.6 kB / 1.539 GB, free: 4.332 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7107, allocations: 7.938 kB / 1.539 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7107, allocations: 11.94 kB / 1.539 GB, free: 4.312 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7107, allocations: 7.984 kB / 1.539 GB, free: 4.305 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.714, allocations: 2.352 MB / 1.542 GB, free: 1.832 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.714, allocations: 4 kB / 1.542 GB, free: 1.828 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.7142, allocations: 51.91 kB / 1.542 GB, free: 1.777 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.7144, allocations: 74.23 kB / 1.542 GB, free: 1.699 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7144, allocations: 12 kB / 1.542 GB, free: 1.688 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.7171, allocations: 2.997 MB / 1.545 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.7171, allocations: 7.938 kB / 1.545 GB, free: 14.48 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7181, allocations: 0.6451 MB / 1.545 GB, free: 13.75 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.7184, allocations: 131.2 kB / 1.545 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.7185, allocations: 15.98 kB / 1.545 GB, free: 13.61 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.719, allocations: 31.97 kB / 1.545 GB, free: 13.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7191, allocations: 43.77 kB / 1.545 GB, free: 13.53 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.7192, allocations: 23.98 kB / 1.545 GB, free: 13.51 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007852/0.7199, allocations: 0.5771 MB / 1.546 GB, free: 12.92 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7199, allocations: 0 / 1.546 GB, free: 12.92 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001078/0.721, allocations: 295.3 kB / 1.546 GB, free: 12.63 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003669/0.7214, allocations: 203.2 kB / 1.546 GB, free: 12.43 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009926/0.7224, allocations: 0.5089 MB / 1.547 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7224, allocations: 4 kB / 1.547 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.723, allocations: 398.6 kB / 1.547 GB, free: 11.47 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.7248, allocations: 430.9 kB / 1.548 GB, free: 11.05 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.7277, allocations: 1.841 MB / 1.55 GB, free: 9.105 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.7283, allocations: 0.5434 MB / 1.55 GB, free: 8.527 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.7285, allocations: 63.42 kB / 1.55 GB, free: 8.465 MB / 1.248 GB Notification: Performance of SimCode: time 6.91e-07/0.7285, allocations: 0 / 1.55 GB, free: 8.465 MB / 1.248 GB Notification: Performance of Templates: time 0.03377/0.7622, allocations: 24.14 MB / 1.574 GB, free: 472 kB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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: 15.0293531389907]