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.001681/0.001681, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001872/0.001872, allocations: 221.5 kB / 23 MB, free: 4.91 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.765/2.765, allocations: 476 MB / 0.7707 GB, free: 4.781 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.002089/0.002089, allocations: 65.62 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 169.9 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00251/0.2881, allocations: 1.283 MB / 1.285 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2891, allocations: 0.5196 MB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.2892, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2892, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.2892, allocations: 3.938 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2898, allocations: 149.6 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.799e-05/0.2898, allocations: 15.94 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.2899, allocations: 0 / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.2899, allocations: 7.938 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.2899, allocations: 3.984 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2899, allocations: 0 / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.2904, allocations: 267.5 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2904, allocations: 0 / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.2904, allocations: 7.938 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.2907, allocations: 131.6 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2907, allocations: 0 / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2907, allocations: 4 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2907, allocations: 0 / 1.286 GB, free: 9.594 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.0004273/0.2911, allocations: 274 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2912, allocations: 8.031 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2912, allocations: 4.922 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2913, allocations: 114.5 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.2913, allocations: 384 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2913, allocations: 384 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.2914, allocations: 46.14 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2914, allocations: 192 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2914, allocations: 3.938 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2914, allocations: 0 / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.2915, allocations: 7.938 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2916, allocations: 105.3 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.2917, allocations: 18.61 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.2917, allocations: 12.92 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2917, allocations: 0 / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.2917, allocations: 30.56 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2917, allocations: 8 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.2919, allocations: 53.55 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2919, allocations: 51.41 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.292, allocations: 97.86 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.292, allocations: 25.7 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.2921, allocations: 80.14 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.2921, allocations: 3.953 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.2921, allocations: 17.7 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2923, allocations: 314.8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.2923, allocations: 4.25 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.2923, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.2923, allocations: 16.86 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2923, allocations: 0 / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.497e-05/0.2924, allocations: 41.62 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2924, allocations: 4 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2924, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2924, allocations: 3.938 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2925, allocations: 8 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/0.293, allocations: 0.5939 MB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.293, allocations: 0 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.293, allocations: 0 / 1.288 GB, free: 7.469 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.527e-05/0.2931, allocations: 121.8 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-06/0.2931, allocations: 3.953 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.965e-05/0.2932, allocations: 48.94 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2932, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2932, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2932, allocations: 4.062 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.035e-05/0.2933, allocations: 101.3 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2933, allocations: 3.938 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.2933, allocations: 11.98 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2933, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.2933, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003703/0.2937, allocations: 0.5898 MB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2937, allocations: 0 / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.535e-05/0.2938, allocations: 69.06 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.2938, allocations: 4.125 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.2938, allocations: 4 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.2938, allocations: 0 / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.2939, allocations: 0 / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2939, allocations: 3.984 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.2939, allocations: 79.28 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2939, allocations: 0 / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001905/0.2941, allocations: 11.94 kB / 1.289 GB, free: 6.336 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.0001529/0.2942, allocations: 107.2 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.2944, allocations: 32.02 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2944, allocations: 0 / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.2945, allocations: 8 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2946, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.295, allocations: 136 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.295, allocations: 63.2 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.295, allocations: 7.438 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.295, allocations: 4.125 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of Templates: time 0.002345/0.2974, allocations: 0.702 MB / 1.29 GB, free: 5.219 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.863662216812372]