Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001832/0.001832, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002569/0.002569, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002124/0.002124, allocations: 71.52 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.44, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003208/0.4432, allocations: 1.28 MB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4444, allocations: 0.5296 MB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.4444, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.4444, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.4445, allocations: 0 / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.4451, allocations: 139.3 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.4452, allocations: 15.92 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.4453, allocations: 4 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.4453, allocations: 4 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.4453, allocations: 7.938 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.4453, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.4458, allocations: 267.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.4459, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4459, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4462, allocations: 139.5 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4462, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4462, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4462, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 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.0005502/0.4468, allocations: 274 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4468, allocations: 12.03 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.4469, allocations: 8.891 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.447, allocations: 106.5 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.447, allocations: 384 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4471, allocations: 4.375 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4472, allocations: 38.19 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4472, allocations: 4.188 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4472, allocations: 3.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4472, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.4472, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.4474, allocations: 105.3 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.4475, allocations: 26.59 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.4475, allocations: 4.859 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.4475, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4476, allocations: 38.56 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4476, allocations: 3.938 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000173/0.4478, allocations: 41.64 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4478, allocations: 55.34 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4479, allocations: 106 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4479, allocations: 25.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.448, allocations: 80.14 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.448, allocations: 7.953 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.4481, allocations: 9.719 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4482, allocations: 318.8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.4482, allocations: 3.984 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.4482, allocations: 4 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.4483, allocations: 12.8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4483, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.939e-05/0.4483, allocations: 41.89 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4484, allocations: 5.875 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4484, allocations: 4 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.4484, allocations: 3.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4486, allocations: 11.98 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004699/0.449, allocations: 0.5821 MB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.4491, allocations: 3.953 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4491, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 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 0.0001027/0.4492, allocations: 127.9 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-06/0.4492, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4493, allocations: 41.02 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4493, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4493, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4493, allocations: 3.984 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.4494, allocations: 97.33 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4494, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.4495, allocations: 19.91 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4495, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4495, allocations: 4.031 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/0.4499, allocations: 0.5821 MB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4499, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.45, allocations: 73.09 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.45, allocations: 3.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.45, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.4501, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.4501, allocations: 3.938 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4501, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.4501, allocations: 79.41 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4501, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002068/0.4503, allocations: 19.81 kB / 1.331 GB, free: 12.17 MB / 1.029 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.0001934/0.4505, allocations: 111.2 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4507, allocations: 23.98 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4507, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.4508, allocations: 11.98 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.4509, allocations: 10.09 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.4514, allocations: 102.1 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.4514, allocations: 55.36 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.4515, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.4515, allocations: 7.438 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/0.4515, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Templates: time 0.003452/0.4549, allocations: 479.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.589063638821244]