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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001205/0.001204, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001531/0.001531, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003435, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7197, allocations: 142.4 MB / 0.9544 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1677/0.8875, allocations: 146.7 MB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.8907, allocations: 1.646 MB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.891, allocations: 7.938 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.8915, allocations: 115.2 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.8927, allocations: 390.1 kB / 1.1 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.8937, allocations: 331 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003003/0.8967, allocations: 2.993 MB / 1.103 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009873/0.8977, allocations: 0.6876 MB / 1.104 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.8992, allocations: 0.8597 MB / 1.105 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.9001, allocations: 0.704 MB / 1.105 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.9002, allocations: 36 kB / 1.105 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.9014, allocations: 0.5613 MB / 1.106 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.9017, allocations: 282.9 kB / 1.106 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.902, allocations: 233.1 kB / 1.106 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.9031, allocations: 1.013 MB / 1.107 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9031, allocations: 0 / 1.107 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.268e-06/0.9031, allocations: 0 / 1.107 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.9031, allocations: 3.938 kB / 1.107 GB, free: 2.625 MB / 0.8575 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.001906/0.9051, allocations: 1.299 MB / 1.109 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9051, allocations: 8.031 kB / 1.109 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.9058, allocations: 182.5 kB / 1.109 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9071, allocations: 0.804 MB / 1.11 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/0.9072, allocations: 44.94 kB / 1.11 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.9073, allocations: 60 kB / 1.11 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.9084, allocations: 0.7889 MB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.9084, allocations: 7.938 kB / 1.11 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.9085, allocations: 27.92 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.9085, allocations: 16 kB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.9094, allocations: 0.5423 MB / 1.111 GB, free: 14.65 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.003759/0.9131, allocations: 4.603 MB / 1.116 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.9138, allocations: 423.2 kB / 1.116 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.9142, allocations: 248.7 kB / 1.116 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.9145, allocations: 202.1 kB / 1.116 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.915, allocations: 301.5 kB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.9151, allocations: 0 / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001306/0.9164, allocations: 0.6524 MB / 1.117 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.9164, allocations: 85.11 kB / 1.117 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.9177, allocations: 1.118 MB / 1.118 GB, free: 6.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.9178, allocations: 33.7 kB / 1.118 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.9182, allocations: 496.1 kB / 1.119 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.9183, allocations: 106.5 kB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.9183, allocations: 8 kB / 1.119 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9184, allocations: 322 kB / 1.119 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.9187, allocations: 192.7 kB / 1.12 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.9193, allocations: 0.4942 MB / 1.12 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.9198, allocations: 302.3 kB / 1.12 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.9198, allocations: 3.938 kB / 1.12 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001053/0.9208, allocations: 0.6869 MB / 1.121 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.921, allocations: 275 kB / 1.121 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.9211, allocations: 4 kB / 1.121 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9211, allocations: 12 kB / 1.121 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.9228, allocations: 379.4 kB / 1.122 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.9266, allocations: 6.099 MB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.9275, allocations: 107.5 kB / 1.128 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.9276, allocations: 20 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.9276, allocations: 4 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009173/0.9285, allocations: 0.5365 MB / 1.128 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9285, allocations: 4 kB / 1.128 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.9286, allocations: 12 kB / 1.128 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.9291, allocations: 159.9 kB / 1.128 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9291, allocations: 15.92 kB / 1.128 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.9298, allocations: 95.47 kB / 1.129 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.9299, allocations: 24 kB / 1.129 GB, free: 11.73 MB / 0.8887 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006482/0.9305, allocations: 476.6 kB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.9306, allocations: 94.78 kB / 1.129 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.9316, allocations: 0.4989 MB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.9316, allocations: 4 kB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9316, allocations: 0 / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.9316, allocations: 0 / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.9336, allocations: 1.4 MB / 1.131 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9336, allocations: 8 kB / 1.131 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.9342, allocations: 139.8 kB / 1.131 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.9342, allocations: 8 kB / 1.131 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.9342, allocations: 8 kB / 1.131 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.937, allocations: 6.025 MB / 1.137 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.937, allocations: 4 kB / 1.137 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.9378, allocations: 0.6029 MB / 1.138 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.9382, allocations: 223.9 kB / 1.138 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9383, allocations: 8 kB / 1.138 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.9388, allocations: 59.78 kB / 1.138 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.9389, allocations: 39.95 kB / 1.138 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.9389, allocations: 11.98 kB / 1.138 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001095/0.94, allocations: 0.7836 MB / 1.139 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.645e-06/0.9401, allocations: 0 / 1.139 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001406/0.9415, allocations: 419.4 kB / 1.139 GB, free: 0.5547 MB / 0.8887 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004549/0.9419, allocations: 181.4 kB / 1.139 GB, free: 388 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.945, allocations: 1.116 MB / 1.14 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.945, allocations: 0 / 1.14 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.9458, allocations: 302.3 kB / 1.141 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.948, allocations: 459.9 kB / 1.141 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.9513, allocations: 2.014 MB / 1.143 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/0.9522, allocations: 1.188 MB / 1.144 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001117/0.9534, allocations: 375.5 kB / 1.145 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.9535, allocations: 63.44 kB / 1.145 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of SimCode: time 8.42e-07/0.9536, allocations: 0 / 1.145 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.03039/0.9839, allocations: 16.76 MB / 1.161 GB, free: 10.2 MB / 0.92 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