Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001796/0.001796, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002174/0.002174, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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.595/1.595, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.947/2.947, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.472e-05, allocations: 5.094 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002316/0.00234, allocations: 1.292 MB / 1.001 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.00338, allocations: 0.5137 MB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.003407, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.003425, allocations: 0 / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-05/0.003472, allocations: 7.938 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.004048, allocations: 144.1 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.004107, allocations: 15.91 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.004152, allocations: 0 / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.004184, allocations: 4 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.004225, allocations: 4 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.004239, allocations: 0 / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.004711, allocations: 271.4 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.004724, allocations: 0 / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.004744, allocations: 7.938 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.005028, allocations: 143.6 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.00503, allocations: 0 / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.02e-07/0.00503, allocations: 4 kB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.005034, allocations: 0 / 1.002 GB, free: 4.879 MB / 0.9512 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.0004013/0.005435, allocations: 282 kB / 1.003 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005472, allocations: 8.031 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.005496, allocations: 0.9375 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.005616, allocations: 113.7 kB / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.005622, allocations: 384 / 1.003 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.005634, allocations: 4.312 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.005725, allocations: 34.27 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005733, allocations: 192 / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005741, allocations: 4.375 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005745, allocations: 384 / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.005772, allocations: 7.938 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.005916, allocations: 105.3 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.005966, allocations: 18.61 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.005987, allocations: 12.86 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.006003, allocations: 0 / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.006033, allocations: 34.56 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.006033, allocations: 0 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001456/0.006179, allocations: 49.62 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.006216, allocations: 51.41 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.006298, allocations: 97.8 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.006315, allocations: 29.7 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.006364, allocations: 80.14 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.006388, allocations: 3.953 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.006419, allocations: 13.72 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.006566, allocations: 318.8 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.006579, allocations: 3.938 kB / 1.004 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.006587, allocations: 4.25 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.006644, allocations: 16.92 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006645, allocations: 0 / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.78e-05/0.006713, allocations: 37.7 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.006727, allocations: 4 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.006733, allocations: 3.984 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.006751, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.006895, allocations: 8 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/0.007338, allocations: 0.5898 MB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.00736, allocations: 8.156 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007365, allocations: 4 kB / 1.004 GB, free: 2.758 MB / 0.9512 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 9.131e-05/0.007456, allocations: 114.4 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.007466, allocations: 3.938 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.007593, allocations: 52.95 kB / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007594, allocations: 0 / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007598, allocations: 0 / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007601, allocations: 0 / 1.005 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.007698, allocations: 109.2 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007699, allocations: 4.031 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.007778, allocations: 11.98 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.00778, allocations: 0 / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.00779, allocations: 3.938 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003757/0.008166, allocations: 0.5782 MB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008167, allocations: 0 / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.008254, allocations: 73.03 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.008261, allocations: 3.984 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.008271, allocations: 0 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.008285, allocations: 4.125 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.008305, allocations: 8 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.008307, allocations: 0 / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.008348, allocations: 79.28 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.008348, allocations: 0 / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001943/0.008543, allocations: 7.984 kB / 1.005 GB, free: 1.621 MB / 0.9512 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.0001736/0.008716, allocations: 111.1 kB / 1.005 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.008884, allocations: 19.98 kB / 1.005 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008886, allocations: 4.156 kB / 1.005 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.008978, allocations: 19.92 kB / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.009121, allocations: 7.875 kB / 1.006 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.009447, allocations: 104.8 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.009504, allocations: 59.34 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.009518, allocations: 0 / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.009536, allocations: 8.562 kB / 1.006 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.009536, allocations: 4 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of Templates: time 0.002976/0.01251, allocations: 481.2 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 8.323970720171928]