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.0008828/0.0008828, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008914/0.0008914, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8955/0.8955, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.8 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9822 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.914e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001646/0.001675, allocations: 1.266 MB / 0.9834 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.002315, allocations: 0.5137 MB / 0.9839 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.002339, allocations: 4 kB / 0.984 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.002357, allocations: 3.984 kB / 0.984 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002395, allocations: 3.938 kB / 0.984 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.002775, allocations: 143.3 kB / 0.9841 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.002822, allocations: 11.92 kB / 0.9841 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.002862, allocations: 0 / 0.9841 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.002895, allocations: 11.94 kB / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.002934, allocations: 7.984 kB / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.002946, allocations: 0 / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.003205, allocations: 263.4 kB / 0.9844 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.003216, allocations: 3.938 kB / 0.9844 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.003231, allocations: 4 kB / 0.9844 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.003415, allocations: 151.5 kB / 0.9845 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003417, allocations: 0 / 0.9845 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003418, allocations: 0 / 0.9845 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003421, allocations: 7.938 kB / 0.9845 GB, free: 14.54 MB / 0.9011 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.0003067/0.003728, allocations: 282 kB / 0.9848 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.003762, allocations: 8.031 kB / 0.9848 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.003788, allocations: 0.9375 kB / 0.9848 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.003866, allocations: 109.8 kB / 0.9849 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.003876, allocations: 384 / 0.9849 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.003883, allocations: 384 / 0.9849 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.003961, allocations: 38.2 kB / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.003969, allocations: 4.188 kB / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.003977, allocations: 384 / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.003981, allocations: 384 / 0.985 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.004003, allocations: 11.94 kB / 0.985 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.004109, allocations: 105.3 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.004152, allocations: 22.61 kB / 0.9851 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.004169, allocations: 8.922 kB / 0.9851 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.004187, allocations: 0 / 0.9851 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004205, allocations: 34.5 kB / 0.9851 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004206, allocations: 4 kB / 0.9851 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001163/0.004322, allocations: 45.69 kB / 0.9852 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.004349, allocations: 51.41 kB / 0.9852 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.004397, allocations: 97.8 kB / 0.9853 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.004406, allocations: 25.7 kB / 0.9853 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.004427, allocations: 80.14 kB / 0.9854 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.004448, allocations: 7.953 kB / 0.9854 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.004471, allocations: 17.7 kB / 0.9854 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.004538, allocations: 310.8 kB / 0.9857 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.004547, allocations: 4.25 kB / 0.9858 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.004553, allocations: 7.938 kB / 0.9858 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.004575, allocations: 20.8 kB / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004577, allocations: 0 / 0.9858 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.769e-05/0.004615, allocations: 41.69 kB / 0.9858 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.004626, allocations: 4 kB / 0.9858 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.00463, allocations: 0 / 0.9858 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.004641, allocations: 0 / 0.9858 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.004757, allocations: 8 kB / 0.9858 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002413/0.004998, allocations: 0.6016 MB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.00501, allocations: 3.984 kB / 0.9864 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.005014, allocations: 0 / 0.9864 GB, free: 12.41 MB / 0.9011 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 5.169e-05/0.005066, allocations: 105.8 kB / 0.9865 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.005071, allocations: 7.938 kB / 0.9865 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.005143, allocations: 45 kB / 0.9866 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005144, allocations: 0 / 0.9866 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005148, allocations: 3.938 kB / 0.9866 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00515, allocations: 0 / 0.9866 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.232e-05/0.005202, allocations: 105.5 kB / 0.9867 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005203, allocations: 0 / 0.9867 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.005245, allocations: 11.98 kB / 0.9867 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005246, allocations: 3.938 kB / 0.9867 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005252, allocations: 3.938 kB / 0.9867 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001692/0.005422, allocations: 0.5782 MB / 0.9873 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005422, allocations: 4.031 kB / 0.9873 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.291e-05/0.005465, allocations: 69.02 kB / 0.9873 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.005469, allocations: 0 / 0.9873 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.005477, allocations: 8.125 kB / 0.9873 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.005484, allocations: 7.938 kB / 0.9873 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.005495, allocations: 0 / 0.9873 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005498, allocations: 0 / 0.9873 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.005529, allocations: 83.27 kB / 0.9874 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005529, allocations: 0 / 0.9874 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001194/0.005649, allocations: 11.94 kB / 0.9874 GB, free: 11.28 MB / 0.9011 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.0001122/0.005761, allocations: 109.8 kB / 0.9875 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.005869, allocations: 32.02 kB / 0.9876 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00587, allocations: 0 / 0.9876 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.005899, allocations: 8 kB / 0.9876 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.006, allocations: 7.938 kB / 0.9876 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.006251, allocations: 126.5 kB / 0.9877 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.006285, allocations: 59.34 kB / 0.9878 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.006297, allocations: 8.5 kB / 0.9878 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of SimCode: time 2.7e-07/0.006298, allocations: 4.125 kB / 0.9878 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of Templates: time 0.001566/0.007864, allocations: 0.7079 MB / 0.9885 GB, free: 10.16 MB / 0.9011 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: 6.912755445577204]