Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.0007608/0.0007608, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.00188, 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.0006835/0.0006835, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000951/0.001635, 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.882/0.882, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08906/0.971, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.221/2.221, allocations: 440.5 MB / 0.6683 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2373/2.458, allocations: 143.9 MB / 0.8089 GB, free: 12.34 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_m_flow_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_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8102 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.385e-05, allocations: 8.562 kB / 0.8102 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001686/0.00171, allocations: 1.388 MB / 0.8115 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005711/0.002281, allocations: 0.5664 MB / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.002296, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.244e-06/0.002303, allocations: 3.938 kB / 0.8121 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.002325, allocations: 7.938 kB / 0.8121 GB, free: 9.035 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.002586, allocations: 143.3 kB / 0.8122 GB, free: 8.895 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.00263, allocations: 15.92 kB / 0.8122 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.002663, allocations: 3.984 kB / 0.8122 GB, free: 8.875 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.002702, allocations: 8 kB / 0.8122 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.002742, allocations: 0 / 0.8122 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.00275, allocations: 0 / 0.8122 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.003086, allocations: 335.2 kB / 0.8126 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-06/0.003094, allocations: 0 / 0.8126 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.003105, allocations: 0 / 0.8126 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.003274, allocations: 131.6 kB / 0.8127 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.003283, allocations: 0 / 0.8127 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003284, allocations: 0 / 0.8127 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.003292, allocations: 4 kB / 0.8127 GB, free: 8.406 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.000279/0.003571, allocations: 264.3 kB / 0.8129 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.003598, allocations: 12.62 kB / 0.813 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003622, allocations: 4.938 kB / 0.813 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.003685, allocations: 113.7 kB / 0.8131 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.003692, allocations: 384 / 0.8131 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.003699, allocations: 384 / 0.8131 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.719e-05/0.003756, allocations: 34.25 kB / 0.8131 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-06/0.003761, allocations: 192 / 0.8131 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-06/0.003766, allocations: 384 / 0.8131 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.003769, allocations: 4.375 kB / 0.8131 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-06/0.003779, allocations: 11.88 kB / 0.8131 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.863e-05/0.003848, allocations: 57.05 kB / 0.8132 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.423e-05/0.003882, allocations: 22.61 kB / 0.8132 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.057e-05/0.003893, allocations: 8.859 kB / 0.8132 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.003906, allocations: 0 / 0.8132 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.003923, allocations: 34.62 kB / 0.8132 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.003924, allocations: 0 / 0.8132 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 7.14e-05/0.003995, allocations: 37.62 kB / 0.8133 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.00402, allocations: 59.53 kB / 0.8133 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.445e-05/0.004064, allocations: 102.7 kB / 0.8134 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.004071, allocations: 25.7 kB / 0.8135 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.004089, allocations: 84.14 kB / 0.8135 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.004108, allocations: 3.953 kB / 0.8135 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.004128, allocations: 21.7 kB / 0.8136 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.004192, allocations: 318.8 kB / 0.8139 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.004196, allocations: 0 / 0.8139 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.004202, allocations: 4 kB / 0.8139 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.746e-05/0.004219, allocations: 12.98 kB / 0.8139 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004221, allocations: 4 kB / 0.8139 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 2.856e-05/0.004249, allocations: 33.69 kB / 0.8139 GB, free: 7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.00426, allocations: 10.81 kB / 0.8139 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.004263, allocations: 0 / 0.8139 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.00427, allocations: 4 kB / 0.8139 GB, free: 6.988 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.004368, allocations: 11.98 kB / 0.8139 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000205/0.004573, allocations: 0.5781 MB / 0.8145 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-06/0.004583, allocations: 4 kB / 0.8145 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.004587, allocations: 8.078 kB / 0.8145 GB, free: 6.363 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 4.729e-05/0.004634, allocations: 109.8 kB / 0.8146 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-06/0.004638, allocations: 4 kB / 0.8146 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.004692, allocations: 40.94 kB / 0.8147 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.004694, allocations: 3.938 kB / 0.8147 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004695, allocations: 0 / 0.8147 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004697, allocations: 0 / 0.8147 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.39e-05/0.004741, allocations: 65.89 kB / 0.8147 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004741, allocations: 0 / 0.8147 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.004778, allocations: 12.03 kB / 0.8147 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.004779, allocations: 0 / 0.8147 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-06/0.004782, allocations: 0 / 0.8147 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001644/0.004946, allocations: 0.5937 MB / 0.8153 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.004948, allocations: 3.984 kB / 0.8153 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.258e-05/0.004981, allocations: 53.14 kB / 0.8154 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.004986, allocations: 7.938 kB / 0.8154 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-06/0.004992, allocations: 3.984 kB / 0.8154 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-06/0.004998, allocations: 0 / 0.8154 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.005008, allocations: 8.031 kB / 0.8154 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.005009, allocations: 0 / 0.8154 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.468e-06/0.005019, allocations: 12.86 kB / 0.8154 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.005019, allocations: 0 / 0.8154 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001076/0.005126, allocations: 23.88 kB / 0.8154 GB, free: 5.348 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.0001223/0.005249, allocations: 108.3 kB / 0.8155 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.922e-05/0.005308, allocations: 12.86 kB / 0.8155 GB, free: 5.219 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00531, allocations: 4 kB / 0.8156 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.005329, allocations: 17 kB / 0.8156 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.082e-05/0.00538, allocations: 4.812 kB / 0.8156 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.005581, allocations: 138.3 kB / 0.8157 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.596e-05/0.005607, allocations: 55.36 kB / 0.8158 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.005634, allocations: 47.38 kB / 0.8158 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of SimCode: time 3.4e-07/0.005634, allocations: 0 / 0.8158 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of Templates: time 0.001439/0.007072, allocations: 0.661 MB / 0.8164 GB, free: 4.246 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.677265419624746]