Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007323/0.0007323, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001735, allocations: 449.7 kB / 10.33 MB, free: 372 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.0006763/0.0006763, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001621, allocations: 463.6 kB / 11.66 MB, free: 2.504 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 1.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0993/1.146, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.915/1.915, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4703/2.385, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.942e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.00162/0.001639, allocations: 1.368 MB / 0.7306 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.002484, allocations: 0.5814 MB / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.002502, allocations: 0 / 0.7312 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.925e-06/0.00251, allocations: 3.938 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.168e-05/0.002531, allocations: 3.688 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.002899, allocations: 154.8 kB / 0.7313 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.002944, allocations: 7.938 kB / 0.7313 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.002979, allocations: 0 / 0.7313 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.003024, allocations: 13.3 kB / 0.7313 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.003066, allocations: 4.672 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.088e-06/0.003075, allocations: 0 / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.003447, allocations: 330.2 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.003457, allocations: 0 / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.003471, allocations: 7.938 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.003668, allocations: 127.6 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.003679, allocations: 0.9688 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.51e-07/0.00368, allocations: 0 / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.003691, allocations: 0 / 0.7318 GB, free: 2 MB / 0.698 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.0003118/0.004003, allocations: 260.9 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.004032, allocations: 12.98 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.00406, allocations: 4.938 kB / 0.7321 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.004134, allocations: 110.7 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004143, allocations: 384 / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.004153, allocations: 4.375 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.677e-05/0.00421, allocations: 26.8 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.004216, allocations: 1.125 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-06/0.004221, allocations: 384 / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004226, allocations: 4.375 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.114e-05/0.004237, allocations: 12.36 kB / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.083e-05/0.004317, allocations: 57.92 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.004357, allocations: 24.03 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.004369, allocations: 12.8 kB / 0.7323 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.004384, allocations: 4.062 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.004402, allocations: 30.56 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.004403, allocations: 4.641 kB / 0.7323 GB, free: 1.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.068e-05/0.004494, allocations: 43.69 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.004518, allocations: 51.41 kB / 0.7324 GB, free: 1.246 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.581e-05/0.004564, allocations: 98.72 kB / 0.7325 GB, free: 1.137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.004571, allocations: 25.7 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/0.004588, allocations: 81.33 kB / 0.7326 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.004609, allocations: 3.953 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.00463, allocations: 17.7 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.004698, allocations: 326.8 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-06/0.004705, allocations: 4.5 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.004711, allocations: 0.875 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.846e-05/0.004729, allocations: 9.734 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.004732, allocations: 4 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.535e-05/0.004768, allocations: 42.19 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004779, allocations: 5.781 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004782, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.00479, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.004897, allocations: 11.98 kB / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002317/0.005129, allocations: 0.5793 MB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.005143, allocations: 3.938 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.005148, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 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 4.944e-05/0.005197, allocations: 115 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.005202, allocations: 0 / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.00527, allocations: 38.41 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.005273, allocations: 7.938 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005274, allocations: 0 / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005277, allocations: 0.5 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.97e-05/0.005327, allocations: 70.59 kB / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005329, allocations: 0 / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.005373, allocations: 9.016 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.005376, allocations: 4 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-06/0.005379, allocations: 0 / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001766/0.005556, allocations: 0.5844 MB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.005558, allocations: 7.938 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.995e-05/0.005598, allocations: 57.12 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.005605, allocations: 3.938 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.162e-06/0.005611, allocations: 1.219 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.005618, allocations: 0 / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.005629, allocations: 7.984 kB / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005631, allocations: 0 / 0.7345 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.407e-06/0.00564, allocations: 9.547 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.00564, allocations: 0.8438 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001279/0.005768, allocations: 27.88 kB / 0.7345 GB, free: 14.97 MB / 0.7136 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.0001471/0.005915, allocations: 114.8 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.388e-05/0.005989, allocations: 12.86 kB / 0.7346 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.005992, allocations: 0 / 0.7346 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.00601, allocations: 12.86 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.767e-05/0.006067, allocations: 12.8 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.006313, allocations: 135.5 kB / 0.7348 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.006343, allocations: 57.3 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.006375, allocations: 51.38 kB / 0.7349 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.006375, allocations: 0 / 0.7349 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.001246/0.007621, allocations: 0.6608 MB / 0.7355 GB, free: 13.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_12_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.537991451099515]