Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.002385/0.002385, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003089/0.003089, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 429.4 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.064e-05, allocations: 3.188 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.247/0.247, allocations: 157.6 MB / 1.031 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.2524, allocations: 2.542 MB / 1.034 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.253, allocations: 19.81 kB / 1.034 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.2537, allocations: 158.8 kB / 1.034 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.2556, allocations: 0.5518 MB / 1.035 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.2577, allocations: 0.6889 MB / 1.035 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.259, allocations: 0.5886 MB / 1.036 GB, free: 3.945 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.2594, allocations: 148.6 kB / 1.036 GB, free: 3.801 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.2608, allocations: 0.5721 MB / 1.036 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.2611, allocations: 139.5 kB / 1.037 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2612, allocations: 16 kB / 1.037 GB, free: 3.074 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.2624, allocations: 0.561 MB / 1.037 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.2626, allocations: 91.66 kB / 1.037 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.2627, allocations: 83.78 kB / 1.037 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.2638, allocations: 0.5334 MB / 1.038 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2638, allocations: 0 / 1.038 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2638, allocations: 4 kB / 1.038 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2638, allocations: 0 / 1.038 GB, free: 1.801 MB / 0.9948 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.001146/0.265, allocations: 0.6542 MB / 1.039 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.265, allocations: 8.031 kB / 1.039 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.2655, allocations: 83.61 kB / 1.039 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.266, allocations: 279.9 kB / 1.039 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.266, allocations: 12 kB / 1.039 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.2661, allocations: 20 kB / 1.039 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.2665, allocations: 202.3 kB / 1.039 GB, free: 480 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2665, allocations: 0 / 1.039 GB, free: 480 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2666, allocations: 4 kB / 1.039 GB, free: 476 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2666, allocations: 4 kB / 1.039 GB, free: 472 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.2668, allocations: 75.95 kB / 1.039 GB, free: 396 kB / 0.9948 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.001396/0.2682, allocations: 0.8171 MB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.2685, allocations: 71.03 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.2686, allocations: 55.59 kB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.2688, allocations: 31.98 kB / 1.04 GB, free: 15.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.2689, allocations: 45.39 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.2689, allocations: 0 / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0006084/0.2695, allocations: 165.4 kB / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2695, allocations: 55.41 kB / 1.04 GB, free: 15.06 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.27, allocations: 346.3 kB / 1.041 GB, free: 14.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.27, allocations: 33.7 kB / 1.041 GB, free: 14.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2702, allocations: 211.3 kB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.2702, allocations: 47.62 kB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.2703, allocations: 55.36 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003326/0.2706, allocations: 0.5157 MB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2708, allocations: 47.61 kB / 1.042 GB, free: 13.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.2711, allocations: 316.2 kB / 1.042 GB, free: 13.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.2715, allocations: 207.8 kB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2715, allocations: 0 / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004258/0.2719, allocations: 189.5 kB / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2719, allocations: 14.34 kB / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2719, allocations: 0 / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2719, allocations: 4 kB / 1.042 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2721, allocations: 47.91 kB / 1.042 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.2721, allocations: 4 kB / 1.042 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2723, allocations: 15.89 kB / 1.042 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.2723, allocations: 12 kB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003978/0.2727, allocations: 174.8 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003694/0.2731, allocations: 317.7 kB / 1.043 GB, free: 12.24 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003218/0.2734, allocations: 199.7 kB / 1.043 GB, free: 11.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.2734, allocations: 0 / 1.043 GB, free: 11.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0003818/0.2738, allocations: 189.4 kB / 1.043 GB, free: 11.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2738, allocations: 11.98 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2738, allocations: 4 kB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.2738, allocations: 4 kB / 1.043 GB, free: 11.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.2739, allocations: 36.23 kB / 1.043 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2739, allocations: 11.94 kB / 1.043 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.2741, allocations: 15.95 kB / 1.043 GB, free: 11.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2741, allocations: 12 kB / 1.043 GB, free: 11.71 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (19): * Single equations (assignments): 19 * 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.000228/0.2743, allocations: 287.9 kB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.2744, allocations: 23.86 kB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.2747, allocations: 123.4 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2747, allocations: 0 / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2748, allocations: 0 / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2748, allocations: 0 / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.2757, allocations: 0.5808 MB / 1.044 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2757, allocations: 4 kB / 1.044 GB, free: 10.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.2758, allocations: 23.92 kB / 1.044 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2758, allocations: 3.938 kB / 1.044 GB, free: 10.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2759, allocations: 8 kB / 1.044 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2759, allocations: 8.219 kB / 1.044 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2759, allocations: 3.938 kB / 1.044 GB, free: 10.56 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.2763, allocations: 333.6 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.2764, allocations: 39.73 kB / 1.045 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.2764, allocations: 12 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2766, allocations: 7.984 kB / 1.045 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.2766, allocations: 7.984 kB / 1.045 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2767, allocations: 8 kB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002306/0.2769, allocations: 235 kB / 1.045 GB, free: 9.883 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.2769, allocations: 4 kB / 1.045 GB, free: 9.879 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005539/0.2774, allocations: 119.7 kB / 1.045 GB, free: 9.762 MB / 1.01 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.0003492/0.2778, allocations: 155.1 kB / 1.045 GB, free: 9.602 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.2783, allocations: 192.5 kB / 1.045 GB, free: 9.406 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2783, allocations: 0 / 1.045 GB, free: 9.406 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2784, allocations: 55.92 kB / 1.045 GB, free: 9.348 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.2791, allocations: 101.5 kB / 1.046 GB, free: 9.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.28, allocations: 473 kB / 1.046 GB, free: 8.727 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2802, allocations: 154.8 kB / 1.046 GB, free: 8.555 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.2804, allocations: 57.89 kB / 1.046 GB, free: 8.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.2805, allocations: 28.5 kB / 1.046 GB, free: 8.473 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/0.2805, allocations: 0 / 1.046 GB, free: 8.473 MB / 1.01 GB Notification: Performance of Templates: time 0.01071/0.2912, allocations: 4.02 MB / 1.05 GB, free: 4.555 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.981691124965437]