Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00135/0.00135, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001555/0.001555, allocations: 214.1 kB / 23.01 MB, free: 4.609 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 66.62 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3117, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002341/0.314, allocations: 1.285 MB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3151, allocations: 0.5974 MB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.3151, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.3151, allocations: 3.938 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.3152, allocations: 3.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.3157, allocations: 145.6 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.587e-05/0.3157, allocations: 7.938 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3158, allocations: 0 / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.3158, allocations: 15.92 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.3158, allocations: 8 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.3158, allocations: 0 / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.3163, allocations: 339.3 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.3163, allocations: 0 / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.3164, allocations: 15.92 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3166, allocations: 127.7 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3166, allocations: 0 / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3166, allocations: 0 / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3166, allocations: 0 / 1.287 GB, free: 8.691 MB / 0.9825 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.0003782/0.317, allocations: 291.6 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.317, allocations: 8.031 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.3171, allocations: 8.891 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.3172, allocations: 102.5 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3172, allocations: 4.375 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.3172, allocations: 4.375 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/0.3173, allocations: 30.25 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3173, allocations: 192 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3173, allocations: 7.938 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3173, allocations: 4 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.3173, allocations: 0 / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.3175, allocations: 120.8 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.3175, allocations: 26.53 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.3175, allocations: 12.92 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3176, allocations: 0 / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3176, allocations: 34.56 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.3176, allocations: 0 / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.3177, allocations: 45.64 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3177, allocations: 55.34 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.3178, allocations: 97.84 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3178, allocations: 25.7 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.3179, allocations: 80.14 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.3179, allocations: 7.891 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3179, allocations: 21.97 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3181, allocations: 310.8 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.3181, allocations: 3.984 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.3181, allocations: 4 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.3181, allocations: 12.86 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3181, allocations: 3.938 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.18e-05/0.3182, allocations: 37.64 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3182, allocations: 8.094 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3182, allocations: 11.92 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3182, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3183, allocations: 15.98 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000386/0.3187, allocations: 0.5821 MB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.3187, allocations: 7.891 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.3187, allocations: 0 / 1.289 GB, free: 6.523 MB / 0.9825 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 8.391e-05/0.3188, allocations: 117.9 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.3188, allocations: 3.984 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.29e-05/0.3189, allocations: 44.95 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3189, allocations: 0 / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3189, allocations: 0 / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3189, allocations: 0 / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.319, allocations: 136.7 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.319, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.3191, allocations: 11.98 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3191, allocations: 4.031 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3191, allocations: 4 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000335/0.3195, allocations: 0.5782 MB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3195, allocations: 7.875 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.3195, allocations: 65.25 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.3195, allocations: 4 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.3196, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.3196, allocations: 0 / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.3196, allocations: 3.938 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3196, allocations: 0 / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.3196, allocations: 87.27 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 0 / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001945/0.3198, allocations: 11.94 kB / 1.29 GB, free: 5.355 MB / 0.9825 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.0001482/0.32, allocations: 103.4 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.3201, allocations: 19.92 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3201, allocations: 0 / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.3202, allocations: 19.98 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.3203, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.3207, allocations: 142.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.321, allocations: 0.6805 MB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.321, allocations: 11.38 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.321, allocations: 0 / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.002381/0.3234, allocations: 0.6904 MB / 1.292 GB, free: 3.625 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.962529480981175]