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.001931/0.001931, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.00241/0.00241, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.644/2.644, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002361/0.002361, allocations: 67.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3258, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002666/0.3284, allocations: 1.271 MB / 1.119 GB, free: 1.262 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3295, allocations: 0.5216 MB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.3295, allocations: 11.88 kB / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3295, allocations: 0 / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.3296, allocations: 0 / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3302, allocations: 139.4 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.709e-05/0.3303, allocations: 7.938 kB / 1.119 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.3303, allocations: 4 kB / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.472e-05/0.3303, allocations: 0 / 1.119 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.3303, allocations: 11.97 kB / 1.119 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.3304, allocations: 4 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.3308, allocations: 263.5 kB / 1.12 GB, free: 312 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3309, allocations: 7.938 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.3309, allocations: 3.938 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3312, allocations: 135.6 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3312, allocations: 0 / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3312, allocations: 3.938 kB / 1.12 GB, free: 160 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3312, allocations: 0 / 1.12 GB, free: 160 kB / 1.061 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.0004004/0.3316, allocations: 270 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3317, allocations: 12.03 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.3317, allocations: 4.891 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3318, allocations: 118.5 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3318, allocations: 384 / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-06/0.3318, allocations: 384 / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.3319, allocations: 30.27 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3319, allocations: 4.125 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3319, allocations: 3.938 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3319, allocations: 0 / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.332, allocations: 4 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3321, allocations: 105.3 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.3322, allocations: 26.59 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.3322, allocations: 8.922 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3322, allocations: 4 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3322, allocations: 30.56 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3322, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.3324, allocations: 49.56 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3324, allocations: 55.41 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.3325, allocations: 89.86 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3325, allocations: 29.7 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.3326, allocations: 80.39 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.3326, allocations: 11.89 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3326, allocations: 21.7 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3328, allocations: 310.8 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.3328, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.3328, allocations: 4 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.3328, allocations: 16.8 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3328, allocations: 3.938 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.747e-05/0.3329, allocations: 41.69 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3329, allocations: 4 kB / 1.121 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3329, allocations: 4.094 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3329, allocations: 3.938 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.3331, allocations: 8 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/0.3336, allocations: 0.5899 MB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.3336, allocations: 3.953 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3336, allocations: 4.031 kB / 1.122 GB, free: 14.03 MB / 1.076 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.064e-05/0.3337, allocations: 113.7 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.3337, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3338, allocations: 49.09 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3338, allocations: 8 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3338, allocations: 0 / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.3338, allocations: 0 / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.3339, allocations: 101.3 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3339, allocations: 3.938 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.334, allocations: 11.98 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.334, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.334, allocations: 0 / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003821/0.3344, allocations: 0.586 MB / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3344, allocations: 0 / 1.122 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.3344, allocations: 69.09 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.3344, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3345, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.3345, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.3345, allocations: 3.938 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.3345, allocations: 0 / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.3345, allocations: 83.27 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3345, allocations: 224 / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002061/0.3347, allocations: 19.88 kB / 1.123 GB, free: 12.9 MB / 1.076 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.0001845/0.3349, allocations: 107.2 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3351, allocations: 15.98 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3351, allocations: 0 / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.697e-05/0.3352, allocations: 15.94 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3353, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3357, allocations: 114.1 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.3358, allocations: 63.34 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.664e-05/0.3358, allocations: 0 / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.3358, allocations: 8.5 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3358, allocations: 0 / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of Templates: time 0.002994/0.3388, allocations: 488.5 kB / 1.123 GB, free: 12.08 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.487686657928862]