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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002054/0.002054, allocations: 71.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7696, allocations: 168.7 MB / 1.274 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002438/0.772, allocations: 1.257 MB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.7731, allocations: 0.5955 MB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.7731, allocations: 0 / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.7731, allocations: 0 / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.7732, allocations: 3.938 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.7737, allocations: 150.5 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.7738, allocations: 8 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.7738, allocations: 7.922 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.7738, allocations: 0 / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.7739, allocations: 11.88 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.7739, allocations: 0 / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.7745, allocations: 343.4 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.7745, allocations: 4 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.7745, allocations: 0 / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.7747, allocations: 142.2 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7747, allocations: 0 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7747, allocations: 4 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7747, allocations: 0 / 1.277 GB, free: 1.836 MB / 0.9669 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.0004409/0.7752, allocations: 351.1 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.7752, allocations: 16.02 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.7752, allocations: 0.9375 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.7754, allocations: 168.3 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7754, allocations: 384 / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.7754, allocations: 8.375 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.7755, allocations: 30.27 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7755, allocations: 192 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.7755, allocations: 11.88 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.7755, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.7755, allocations: 7.969 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.7757, allocations: 149.7 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.669e-05/0.7758, allocations: 22.55 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.7758, allocations: 16.91 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.7758, allocations: 4 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.7758, allocations: 30.56 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.7758, allocations: 0 / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.776, allocations: 45.59 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.776, allocations: 55.41 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.7761, allocations: 97.84 kB / 1.277 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.7761, allocations: 29.89 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.7762, allocations: 84.14 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.7762, allocations: 7.922 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.7762, allocations: 17.72 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7764, allocations: 310.8 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.7764, allocations: 0 / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.7764, allocations: 7.984 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.7764, allocations: 12.86 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7764, allocations: 4.062 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.588e-05/0.7765, allocations: 37.66 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7765, allocations: 9.719 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.7765, allocations: 3.938 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7765, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.7767, allocations: 19.86 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004214/0.7771, allocations: 0.5821 MB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.7771, allocations: 4.125 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.7771, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 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 8.783e-05/0.7772, allocations: 113.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.7772, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.7773, allocations: 48.75 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.7773, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7773, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.7773, allocations: 4.031 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.7774, allocations: 157.6 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7774, allocations: 3.938 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.7775, allocations: 11.98 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7775, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.7775, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003469/0.7779, allocations: 0.586 MB / 1.279 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7779, allocations: 3.938 kB / 1.279 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.109e-05/0.778, allocations: 70.73 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.778, allocations: 81.11 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.778, allocations: 0 / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.778, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.778, allocations: 3.938 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.778, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.7781, allocations: 79.31 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7781, allocations: 4 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001973/0.7783, allocations: 15.92 kB / 1.28 GB, free: 14.18 MB / 0.9825 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.0001655/0.7784, allocations: 107.8 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.7786, allocations: 19.98 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7786, allocations: 3.938 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.7787, allocations: 11.98 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.7788, allocations: 8.219 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.7792, allocations: 117.9 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.7795, allocations: 0.669 MB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.7795, allocations: 7.984 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.7795, allocations: 7.438 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.7795, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.00281/0.7823, allocations: 484.9 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.584251798689365]