Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 190.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 160.8 MB / 1.218 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2229/1.284, allocations: 162.2 MB / 1.377 GB, free: 4.453 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003648/1.288, allocations: 1.726 MB / 1.379 GB, free: 2.723 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/1.288, allocations: 19.88 kB / 1.379 GB, free: 2.703 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008163/1.289, allocations: 162.9 kB / 1.379 GB, free: 2.543 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/1.291, allocations: 0.5368 MB / 1.379 GB, free: 2.004 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/1.292, allocations: 436.1 kB / 1.38 GB, free: 1.582 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001114/1.294, allocations: 0.5772 MB / 1.38 GB, free: 1.004 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/1.294, allocations: 148.6 kB / 1.38 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/1.295, allocations: 334.7 kB / 1.381 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/1.295, allocations: 163.2 kB / 1.381 GB, free: 376 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/1.295, allocations: 16 kB / 1.381 GB, free: 360 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/1.297, allocations: 0.7288 MB / 1.382 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.297, allocations: 83.66 kB / 1.382 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/1.297, allocations: 119.3 kB / 1.382 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/1.298, allocations: 0.4941 MB / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.298, allocations: 0 / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.343e-06/1.298, allocations: 0 / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.298, allocations: 0 / 1.382 GB, free: 14.93 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001001/1.299, allocations: 0.5911 MB / 1.383 GB, free: 14.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.299, allocations: 8.031 kB / 1.383 GB, free: 14.28 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/1.3, allocations: 63.77 kB / 1.383 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/1.3, allocations: 297.5 kB / 1.383 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.3, allocations: 12 kB / 1.383 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/1.3, allocations: 16 kB / 1.383 GB, free: 13.86 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/1.301, allocations: 192.1 kB / 1.383 GB, free: 13.66 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.301, allocations: 11.92 kB / 1.383 GB, free: 13.65 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.301, allocations: 8 kB / 1.383 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.301, allocations: 4 kB / 1.383 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/1.301, allocations: 123.9 kB / 1.383 GB, free: 13.52 MB / 1.092 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.001348/1.302, allocations: 0.7848 MB / 1.384 GB, free: 12.66 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/1.303, allocations: 90.53 kB / 1.384 GB, free: 12.56 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/1.303, allocations: 68.81 kB / 1.384 GB, free: 12.49 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/1.303, allocations: 182.2 kB / 1.385 GB, free: 12.28 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.303, allocations: 38.56 kB / 1.385 GB, free: 12.23 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/1.303, allocations: 0 / 1.385 GB, free: 12.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006932/1.304, allocations: 217.3 kB / 1.385 GB, free: 12.01 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/1.304, allocations: 55.41 kB / 1.385 GB, free: 11.95 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/1.304, allocations: 268.2 kB / 1.385 GB, free: 11.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/1.304, allocations: 29.7 kB / 1.385 GB, free: 11.64 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.304, allocations: 148 kB / 1.385 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/1.304, allocations: 44.05 kB / 1.385 GB, free: 11.45 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/1.305, allocations: 33.7 kB / 1.385 GB, free: 11.41 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.305, allocations: 330.8 kB / 1.386 GB, free: 11.08 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.305, allocations: 52.81 kB / 1.386 GB, free: 11.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/1.305, allocations: 96.98 kB / 1.386 GB, free: 10.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/1.305, allocations: 119.3 kB / 1.386 GB, free: 10.79 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.305, allocations: 0 / 1.386 GB, free: 10.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000338/1.306, allocations: 161.4 kB / 1.386 GB, free: 10.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.306, allocations: 10.5 kB / 1.386 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/1.306, allocations: 0 / 1.386 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.306, allocations: 7.922 kB / 1.386 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/1.306, allocations: 23.98 kB / 1.386 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.306, allocations: 11.92 kB / 1.386 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/1.306, allocations: 19.88 kB / 1.386 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/1.306, allocations: 4 kB / 1.386 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000202/1.306, allocations: 150.1 kB / 1.386 GB, free: 10.4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001608/1.306, allocations: 93.09 kB / 1.386 GB, free: 10.29 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002394/1.307, allocations: 119.3 kB / 1.387 GB, free: 10.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.307, allocations: 4 kB / 1.387 GB, free: 10.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003077/1.307, allocations: 149.4 kB / 1.387 GB, free: 10 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/1.307, allocations: 8 kB / 1.387 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/1.307, allocations: 3.938 kB / 1.387 GB, free: 9.992 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/1.307, allocations: 0 / 1.387 GB, free: 9.992 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.307, allocations: 31.86 kB / 1.387 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/1.307, allocations: 0 / 1.387 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/1.307, allocations: 20.02 kB / 1.387 GB, free: 9.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/1.307, allocations: 4 kB / 1.387 GB, free: 9.938 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.000129/1.307, allocations: 192.2 kB / 1.387 GB, free: 9.742 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/1.307, allocations: 23.86 kB / 1.387 GB, free: 9.719 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/1.308, allocations: 163.6 kB / 1.387 GB, free: 9.547 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.308, allocations: 0 / 1.387 GB, free: 9.547 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.308, allocations: 4.281 kB / 1.387 GB, free: 9.543 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.308, allocations: 4.094 kB / 1.387 GB, free: 9.539 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009382/1.309, allocations: 0.6055 MB / 1.388 GB, free: 8.855 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.309, allocations: 0 / 1.388 GB, free: 8.855 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/1.309, allocations: 19.98 kB / 1.388 GB, free: 8.836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.309, allocations: 4 kB / 1.388 GB, free: 8.832 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.309, allocations: 7.984 kB / 1.388 GB, free: 8.824 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.309, allocations: 0 / 1.388 GB, free: 8.824 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.309, allocations: 4 kB / 1.388 GB, free: 8.82 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.309, allocations: 297.4 kB / 1.388 GB, free: 8.492 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/1.309, allocations: 120.9 kB / 1.388 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/1.309, allocations: 4 kB / 1.388 GB, free: 8.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.31, allocations: 7.984 kB / 1.388 GB, free: 8.344 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/1.31, allocations: 15.92 kB / 1.388 GB, free: 8.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.31, allocations: 8 kB / 1.388 GB, free: 8.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000197/1.31, allocations: 199.1 kB / 1.388 GB, free: 8.125 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.31, allocations: 0 / 1.388 GB, free: 8.125 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004668/1.31, allocations: 95.83 kB / 1.388 GB, free: 8.031 MB / 1.092 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 (10): * Single equations (assignments): 10 * 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.0004147/1.311, allocations: 173 kB / 1.389 GB, free: 7.863 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004626/1.311, allocations: 160.3 kB / 1.389 GB, free: 7.707 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.311, allocations: 0 / 1.389 GB, free: 7.707 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/1.311, allocations: 59.97 kB / 1.389 GB, free: 7.648 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/1.312, allocations: 129.3 kB / 1.389 GB, free: 7.523 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/1.313, allocations: 445.3 kB / 1.389 GB, free: 7.043 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/1.313, allocations: 0.7558 MB / 1.39 GB, free: 6.258 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001901/1.313, allocations: 61.89 kB / 1.39 GB, free: 6.195 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.313, allocations: 23.44 kB / 1.39 GB, free: 6.176 MB / 1.092 GB Notification: Performance of SimCode: time 3e-07/1.313, allocations: 0 / 1.39 GB, free: 6.176 MB / 1.092 GB Notification: Performance of Templates: time 0.01012/1.324, allocations: 4.481 MB / 1.395 GB, free: 1.758 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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: 9.721793273463845]