Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.0008067/0.0008067, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001846, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008015/0.0008015, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001807, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.119, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.557/2.557, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2659/2.823, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.8183 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.283e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001535/0.001548, allocations: 1.4 MB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.002171, allocations: 0.572 MB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.002187, allocations: 0 / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.442e-06/0.002194, allocations: 0 / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.909e-05/0.002213, allocations: 7.938 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.002496, allocations: 143.3 kB / 0.8204 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.002547, allocations: 11.92 kB / 0.8204 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.002581, allocations: 4 kB / 0.8204 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.002623, allocations: 4 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.002666, allocations: 3.984 kB / 0.8204 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.002676, allocations: 7.938 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.003012, allocations: 331.2 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.00302, allocations: 4 kB / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.003032, allocations: 4 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.003201, allocations: 123.6 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.003216, allocations: 3.938 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003216, allocations: 0 / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.003233, allocations: 0 / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003317/0.003564, allocations: 268.3 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.003591, allocations: 8.625 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.003613, allocations: 0.9375 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.003686, allocations: 109.8 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.003696, allocations: 8.359 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-06/0.003702, allocations: 384 / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.003766, allocations: 42.25 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.003772, allocations: 192 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.003777, allocations: 384 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003782, allocations: 384 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.003797, allocations: 11.88 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.763e-05/0.003874, allocations: 57.05 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.003915, allocations: 18.61 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.003927, allocations: 8.859 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.003949, allocations: 8.047 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.003971, allocations: 30.56 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003972, allocations: 0 / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.302e-05/0.004055, allocations: 41.64 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.004084, allocations: 51.41 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.004136, allocations: 102.7 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004145, allocations: 25.7 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.004318, allocations: 80.14 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.004343, allocations: 4.203 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.004366, allocations: 21.7 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.00444, allocations: 314.8 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.004447, allocations: 4 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.004452, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.004471, allocations: 16.78 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.004474, allocations: 4 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.858e-05/0.004513, allocations: 41.64 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004523, allocations: 6.344 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004528, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.004536, allocations: 4.094 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.00465, allocations: 11.98 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002262/0.004876, allocations: 0.5782 MB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.004887, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.004891, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.004939, allocations: 109.8 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.004945, allocations: 11.92 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.00501, allocations: 41.08 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005012, allocations: 3.938 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.005015, allocations: 3.984 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005017, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.576e-05/0.005063, allocations: 57.91 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.005065, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.005104, allocations: 7.984 kB / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.005112, allocations: 11.89 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.005114, allocations: 0 / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-06/0.005117, allocations: 0 / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001759/0.005292, allocations: 0.5898 MB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005294, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.646e-05/0.00533, allocations: 61.06 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.005342, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-06/0.005348, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-06/0.005357, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.005359, allocations: 4 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.785e-06/0.005367, allocations: 8.844 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005367, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001189/0.005486, allocations: 24.11 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.005623, allocations: 120.2 kB / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.005694, allocations: 16.84 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.005697, allocations: 3.938 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.005715, allocations: 12.86 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.216e-05/0.005767, allocations: 0 / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.006159, allocations: 112.8 kB / 0.8239 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.455e-05/0.006184, allocations: 55.36 kB / 0.8239 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.006202, allocations: 7.922 kB / 0.8239 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.006227, allocations: 47.38 kB / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.006227, allocations: 0 / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of Templates: time 0.001989/0.008217, allocations: 0.6237 MB / 0.8246 GB, free: 12.14 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.463194431737065]