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.001152/0.001152, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002862, allocations: 440 kB / 10.41 MB, free: 284 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.001194/0.001194, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002798, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9501/0.9501, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09504/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.392/2.392, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2287/2.621, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] 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.953e-06/1.953e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.333e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002808/0.002831, allocations: 1.396 MB / 0.8203 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.003667, allocations: 0.5721 MB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.003686, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.032e-05/0.003696, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.003725, allocations: 7.875 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.004169, allocations: 143.3 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.004228, allocations: 23.91 kB / 0.8211 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.004266, allocations: 0 / 0.8211 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.004315, allocations: 4 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.004369, allocations: 11.92 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.004379, allocations: 0 / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.004909, allocations: 327.4 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.004926, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.004942, allocations: 4 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.005208, allocations: 127.6 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.005223, allocations: 4 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005224, allocations: 0 / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.00524, allocations: 0 / 0.8215 GB, free: 15.81 MB / 0.8073 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.0003991/0.00564, allocations: 268.3 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005674, allocations: 8.031 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.005707, allocations: 4.938 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.123e-05/0.005798, allocations: 101.8 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.00581, allocations: 4.312 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.005822, allocations: 4.375 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/0.0059, allocations: 34.25 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005907, allocations: 4.188 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.005913, allocations: 384 / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.00592, allocations: 4.375 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.344e-05/0.005933, allocations: 3.938 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.006096, allocations: 57.05 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.006144, allocations: 26.55 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.006157, allocations: 4.922 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.006174, allocations: 4 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.006197, allocations: 34.55 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.006198, allocations: 0 / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.922e-05/0.006297, allocations: 41.7 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006324, allocations: 51.41 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.00638, allocations: 102.7 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.006391, allocations: 29.69 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.006411, allocations: 80.14 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006436, allocations: 7.891 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.006462, allocations: 13.72 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.478e-05/0.006547, allocations: 314.8 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.006555, allocations: 7.938 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.006561, allocations: 4.25 kB / 0.8227 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.006588, allocations: 16.83 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00659, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.979e-05/0.00665, allocations: 37.7 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.006662, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006666, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.006679, allocations: 4 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.006818, allocations: 15.92 kB / 0.8228 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002971/0.007115, allocations: 0.5822 MB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.007132, allocations: 0 / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007138, allocations: 0 / 0.8233 GB, free: 13.78 MB / 0.8073 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 6.321e-05/0.007201, allocations: 109.8 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.007209, allocations: 3.984 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.00729, allocations: 40.95 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007293, allocations: 7.938 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.007295, allocations: 0 / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007298, allocations: 3.984 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.007362, allocations: 66 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007364, allocations: 0 / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.007429, allocations: 4 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.007442, allocations: 19.86 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007444, allocations: 0 / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.007448, allocations: 0 / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002396/0.007688, allocations: 0.5821 MB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007689, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.037e-05/0.00775, allocations: 65 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-06/0.007758, allocations: 4.094 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.00777, allocations: 0 / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.007782, allocations: 4 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007785, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.117e-05/0.007796, allocations: 4.859 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007796, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002023/0.007999, allocations: 23.92 kB / 0.8242 GB, free: 12.77 MB / 0.8073 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.0002095/0.008208, allocations: 120.2 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.008307, allocations: 20.94 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.008312, allocations: 3.875 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.008347, allocations: 16.8 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.438e-05/0.008421, allocations: 4 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.008948, allocations: 110.7 kB / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.008978, allocations: 55.34 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.009006, allocations: 8.188 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.009039, allocations: 47.38 kB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.00904, allocations: 0 / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.002602/0.01164, allocations: 0.6418 MB / 0.8252 GB, free: 11.73 MB / 0.8073 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 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.958935374394059]