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.001689/0.001689, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002073/0.002073, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.845/2.845, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.546e-05, allocations: 6.141 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003046/0.003082, allocations: 1.277 MB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.004319, allocations: 0.526 MB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.004348, allocations: 0 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.004372, allocations: 7.938 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.004426, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.00513, allocations: 148.4 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.005183, allocations: 8.562 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.005219, allocations: 1.406 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.00526, allocations: 11.98 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.005308, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.005322, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.005838, allocations: 264.3 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.005859, allocations: 7.969 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.005885, allocations: 4.531 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.006202, allocations: 147.5 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.006205, allocations: 0.7812 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006206, allocations: 0 / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006211, allocations: 0.9375 kB / 0.7887 GB, free: 10.43 MB / 0.7448 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.0004928/0.006703, allocations: 282 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.006746, allocations: 8.656 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.006795, allocations: 8.922 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.006923, allocations: 103.4 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.006937, allocations: 384 / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.006945, allocations: 4.375 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.007051, allocations: 31.39 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007061, allocations: 192 / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.007071, allocations: 384 / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.007078, allocations: 7.484 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.007111, allocations: 11.94 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.007274, allocations: 93.33 kB / 0.7892 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.242e-05/0.007347, allocations: 30.55 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.007379, allocations: 4.859 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.007405, allocations: 4.062 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.007445, allocations: 34.55 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.007445, allocations: 0 / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.007631, allocations: 46.31 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.007686, allocations: 57.06 kB / 0.7894 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007797, allocations: 93.8 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.00782, allocations: 29.64 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.007877, allocations: 88.12 kB / 0.7896 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.00791, allocations: 13.05 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.007951, allocations: 13.72 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.008134, allocations: 310.8 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.008147, allocations: 0.9688 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.008161, allocations: 8 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.008193, allocations: 10.58 kB / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008195, allocations: 0 / 0.79 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.008296, allocations: 49.62 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.008314, allocations: 5.281 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.008319, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.00834, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.008509, allocations: 11.98 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/0.009035, allocations: 0.5832 MB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.009063, allocations: 9.438 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.009069, allocations: 0 / 0.7906 GB, free: 8.32 MB / 0.7448 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 9.805e-05/0.009167, allocations: 105.8 kB / 0.7907 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.009182, allocations: 8.562 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.009323, allocations: 50.62 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009325, allocations: 0 / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.738e-06/0.009329, allocations: 0 / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.009331, allocations: 0 / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.009458, allocations: 106.2 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.00946, allocations: 0 / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.009539, allocations: 8 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.009543, allocations: 0.5312 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.009551, allocations: 4.5 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004659/0.01002, allocations: 0.5864 MB / 0.7914 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.01002, allocations: 9.203 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.01012, allocations: 61.08 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.01013, allocations: 4.531 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.01014, allocations: 0 / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.01017, allocations: 1.375 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.01018, allocations: 3.984 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.01019, allocations: 0 / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.346e-05/0.01024, allocations: 88.03 kB / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01024, allocations: 0 / 0.7916 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002064/0.01045, allocations: 12.88 kB / 0.7916 GB, free: 7.199 MB / 0.7448 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.0002147/0.01066, allocations: 108.6 kB / 0.7917 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01084, allocations: 23.92 kB / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01085, allocations: 0.875 kB / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.523e-05/0.01094, allocations: 15.98 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01111, allocations: 10.16 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.01154, allocations: 96.7 kB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.01161, allocations: 59.34 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.01163, allocations: 3.938 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.01166, allocations: 16.48 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01166, allocations: 0 / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.003301/0.01496, allocations: 0.4942 MB / 0.7924 GB, free: 6.387 MB / 0.7448 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 -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/jenkins/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: 7.714608761947602]