Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.0007385/0.0007385, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009677/0.001706, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0006836/0.0006836, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000883/0.001567, allocations: 463.6 kB / 11.64 MB, free: 2.527 MB / 13.93 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.8912/0.8912, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09126/0.9825, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.253/2.253, allocations: 440.5 MB / 0.6683 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2306/2.484, allocations: 143.9 MB / 0.8089 GB, free: 12.4 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8102 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.747e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002036/0.002054, allocations: 1.388 MB / 0.8115 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.002824, allocations: 0.582 MB / 0.8121 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.002842, allocations: 3.938 kB / 0.8121 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.424e-06/0.002849, allocations: 3.938 kB / 0.8121 GB, free: 9.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.114e-05/0.002871, allocations: 0 / 0.8121 GB, free: 9.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.003276, allocations: 155.2 kB / 0.8122 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.003321, allocations: 7.938 kB / 0.8122 GB, free: 8.934 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.003362, allocations: 11.98 kB / 0.8123 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.003406, allocations: 4 kB / 0.8123 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.00345, allocations: 0 / 0.8123 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.003461, allocations: 0 / 0.8123 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.003951, allocations: 331.3 kB / 0.8126 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.003961, allocations: 0 / 0.8126 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.003974, allocations: 4 kB / 0.8126 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.004208, allocations: 131.6 kB / 0.8127 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.00422, allocations: 0 / 0.8127 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00422, allocations: 0 / 0.8127 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.004233, allocations: 4 kB / 0.8127 GB, free: 8.457 MB / 0.7917 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.0003622/0.004595, allocations: 272.2 kB / 0.813 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.004625, allocations: 8.625 kB / 0.813 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.004655, allocations: 4.938 kB / 0.813 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.004741, allocations: 105.8 kB / 0.8131 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.004751, allocations: 384 / 0.8131 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.00476, allocations: 4.375 kB / 0.8131 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.429e-05/0.004825, allocations: 38.19 kB / 0.8131 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.00483, allocations: 192 / 0.8131 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.004837, allocations: 4.375 kB / 0.8131 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004842, allocations: 4.375 kB / 0.8131 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.13e-05/0.004853, allocations: 3.938 kB / 0.8131 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.75e-05/0.004941, allocations: 57.05 kB / 0.8132 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.004982, allocations: 22.59 kB / 0.8132 GB, free: 7.863 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.004995, allocations: 8.922 kB / 0.8132 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.00501, allocations: 0 / 0.8132 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.005032, allocations: 34.5 kB / 0.8133 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.005033, allocations: 0 / 0.8133 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 8.958e-05/0.005122, allocations: 41.69 kB / 0.8133 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.00515, allocations: 55.53 kB / 0.8133 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.559e-05/0.005205, allocations: 102.7 kB / 0.8134 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.005215, allocations: 25.7 kB / 0.8135 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.146e-05/0.005236, allocations: 80.14 kB / 0.8135 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.005259, allocations: 11.88 kB / 0.8136 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.005283, allocations: 13.72 kB / 0.8136 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.005367, allocations: 318.8 kB / 0.8139 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.005375, allocations: 4 kB / 0.8139 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.005381, allocations: 0 / 0.8139 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.223e-05/0.005403, allocations: 16.98 kB / 0.8139 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.005406, allocations: 4 kB / 0.8139 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.682e-05/0.005453, allocations: 41.69 kB / 0.8139 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.005464, allocations: 4 kB / 0.8139 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.005468, allocations: 0 / 0.8139 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.005477, allocations: 4 kB / 0.8139 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.005601, allocations: 7.984 kB / 0.814 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/0.005867, allocations: 0.582 MB / 0.8145 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.005882, allocations: 0 / 0.8145 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005886, allocations: 4.094 kB / 0.8145 GB, free: 6.418 MB / 0.7917 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.587e-05/0.005942, allocations: 109.8 kB / 0.8146 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.005947, allocations: 0 / 0.8146 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.302e-05/0.00602, allocations: 41 kB / 0.8147 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.006023, allocations: 7.938 kB / 0.8147 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006025, allocations: 0 / 0.8147 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006027, allocations: 0 / 0.8147 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.148e-05/0.006089, allocations: 69.88 kB / 0.8147 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.00609, allocations: 0 / 0.8147 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.006146, allocations: 11.97 kB / 0.8148 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006149, allocations: 4 kB / 0.8148 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.006153, allocations: 0 / 0.8148 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002213/0.006375, allocations: 0.5859 MB / 0.8153 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.006376, allocations: 4 kB / 0.8153 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.868e-05/0.006425, allocations: 57.08 kB / 0.8154 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.006433, allocations: 7.922 kB / 0.8154 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.00644, allocations: 0 / 0.8154 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.006449, allocations: 0 / 0.8154 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.00646, allocations: 8.094 kB / 0.8154 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006463, allocations: 0 / 0.8154 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.576e-06/0.006472, allocations: 4.859 kB / 0.8154 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.006472, allocations: 0 / 0.8154 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001934/0.006665, allocations: 27.81 kB / 0.8154 GB, free: 5.406 MB / 0.7917 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.0001668/0.006832, allocations: 120.2 kB / 0.8155 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.006916, allocations: 12.86 kB / 0.8156 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.006919, allocations: 160 / 0.8156 GB, free: 5.266 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/0.006948, allocations: 20.84 kB / 0.8156 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.249e-05/0.00701, allocations: 6.438 kB / 0.8156 GB, free: 5.238 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.007264, allocations: 130.4 kB / 0.8157 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.007299, allocations: 55.36 kB / 0.8158 GB, free: 5.004 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.007332, allocations: 51.38 kB / 0.8158 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/0.007333, allocations: 0 / 0.8158 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of Templates: time 0.001559/0.008892, allocations: 0.6602 MB / 0.8165 GB, free: 4.301 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.525196530856192]