Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006421/0.006421, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.699, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1649/0.8639, allocations: 157.3 MB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.8671, allocations: 1.746 MB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.8675, allocations: 11.94 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.868, allocations: 135.2 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.8695, allocations: 0.4902 MB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8706, allocations: 350.2 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.8741, allocations: 3.476 MB / 1.115 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.8753, allocations: 0.7504 MB / 1.115 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.8772, allocations: 0.9025 MB / 1.116 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.8785, allocations: 0.7194 MB / 1.117 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.8786, allocations: 32 kB / 1.117 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.8802, allocations: 0.799 MB / 1.118 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.8805, allocations: 278.9 kB / 1.118 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.8813, allocations: 0.5301 MB / 1.119 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.8829, allocations: 1.37 MB / 1.12 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8829, allocations: 0 / 1.12 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8829, allocations: 0 / 1.12 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.883, allocations: 4 kB / 1.12 GB, free: 5.875 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001863/0.8848, allocations: 1.26 MB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.8849, allocations: 20.02 kB / 1.121 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.8856, allocations: 178.5 kB / 1.121 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.8867, allocations: 0.8021 MB / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.8867, allocations: 41 kB / 1.122 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.8868, allocations: 63.98 kB / 1.122 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.8879, allocations: 0.8004 MB / 1.123 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.8879, allocations: 0 / 1.123 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.888, allocations: 24 kB / 1.123 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.888, allocations: 12 kB / 1.123 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.8889, allocations: 0.5501 MB / 1.124 GB, free: 1.934 MB / 0.8731 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.003528/0.8924, allocations: 4.591 MB / 1.128 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.8931, allocations: 430.3 kB / 1.129 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.8935, allocations: 248.8 kB / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.8938, allocations: 202.1 kB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.8943, allocations: 301.6 kB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.8943, allocations: 0 / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.001248/0.8956, allocations: 0.6446 MB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.8957, allocations: 85.05 kB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.8969, allocations: 1.118 MB / 1.131 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.8969, allocations: 37.7 kB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.8973, allocations: 496.1 kB / 1.132 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.8974, allocations: 106.5 kB / 1.132 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.8975, allocations: 45.69 kB / 1.132 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8976, allocations: 325.9 kB / 1.132 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.898, allocations: 216.7 kB / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.8986, allocations: 0.5252 MB / 1.133 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.8994, allocations: 0.647 MB / 1.133 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8994, allocations: 4 kB / 1.133 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001097/0.9005, allocations: 0.73 MB / 1.134 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.9007, allocations: 274.8 kB / 1.134 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9007, allocations: 4 kB / 1.134 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9007, allocations: 11.94 kB / 1.134 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.9025, allocations: 359.4 kB / 1.135 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.9056, allocations: 6.079 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.9063, allocations: 103.5 kB / 1.141 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.9064, allocations: 27.98 kB / 1.141 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-06/0.9064, allocations: 0 / 1.141 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008534/0.9072, allocations: 0.5446 MB / 1.141 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9073, allocations: 8.125 kB / 1.141 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.9073, allocations: 8 kB / 1.141 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.9078, allocations: 151.8 kB / 1.141 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9078, allocations: 15.92 kB / 1.141 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.9084, allocations: 95.52 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.9084, allocations: 27.98 kB / 1.142 GB, free: 14.48 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004591/0.9089, allocations: 472.7 kB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.909, allocations: 98.78 kB / 1.142 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.9099, allocations: 0.4951 MB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9099, allocations: 3.938 kB / 1.143 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9099, allocations: 7.984 kB / 1.143 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9099, allocations: 0 / 1.143 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.9118, allocations: 1.397 MB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9118, allocations: 4 kB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.9123, allocations: 151.8 kB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.9124, allocations: 4 kB / 1.144 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.9124, allocations: 15.92 kB / 1.144 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.9151, allocations: 6.02 MB / 1.15 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.9152, allocations: 4.031 kB / 1.15 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.916, allocations: 0.6179 MB / 1.151 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.9162, allocations: 215.8 kB / 1.151 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.9163, allocations: 8 kB / 1.151 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.9168, allocations: 47.95 kB / 1.151 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.9169, allocations: 31.89 kB / 1.151 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.9169, allocations: 12 kB / 1.151 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009189/0.9179, allocations: 0.7914 MB / 1.152 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9179, allocations: 0 / 1.152 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001036/0.9189, allocations: 415.4 kB / 1.152 GB, free: 3.301 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004118/0.9193, allocations: 169.2 kB / 1.152 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002929/0.9223, allocations: 1.113 MB / 1.153 GB, free: 2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9223, allocations: 4 kB / 1.153 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.9231, allocations: 304.8 kB / 1.154 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.9253, allocations: 454 kB / 1.154 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.9282, allocations: 2.092 MB / 1.156 GB, free: 15.12 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007233/0.929, allocations: 1.188 MB / 1.157 GB, free: 13.9 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009303/0.9299, allocations: 379.7 kB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.93, allocations: 67.42 kB / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.93, allocations: 0 / 1.158 GB, free: 13.46 MB / 0.92 GB Notification: Performance of Templates: time 0.02772/0.9578, allocations: 17.21 MB / 1.175 GB, free: 12.44 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches