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.001866/0.001866, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001939/0.001939, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.879/2.879, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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.002018/0.002018, allocations: 75.89 kB / 1.107 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.242, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002838/1.245, allocations: 1.269 MB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00109/1.246, allocations: 0.5885 MB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/1.246, allocations: 0 / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/1.246, allocations: 4.594 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/1.246, allocations: 0.9688 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/1.247, allocations: 143.2 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/1.247, allocations: 14.95 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/1.247, allocations: 1.156 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/1.247, allocations: 7.906 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/1.247, allocations: 6.5 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/1.247, allocations: 0 / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/1.248, allocations: 345.9 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/1.248, allocations: 0 / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/1.248, allocations: 6.625 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/1.248, allocations: 140.8 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.248, allocations: 1.391 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.248, allocations: 0 / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.248, allocations: 7.938 kB / 1.274 GB, free: 6.367 MB / 0.9981 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.000387/1.248, allocations: 348.2 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.248, allocations: 12.02 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/1.248, allocations: 1.938 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.325e-05/1.249, allocations: 165.3 kB / 1.275 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.249, allocations: 5.172 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/1.249, allocations: 1.156 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/1.249, allocations: 31.31 kB / 1.275 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.249, allocations: 5.281 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.249, allocations: 3.938 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/1.249, allocations: 0 / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/1.249, allocations: 5.141 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/1.249, allocations: 154.3 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/1.249, allocations: 27.97 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/1.249, allocations: 7.578 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.249, allocations: 4.938 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/1.249, allocations: 32.28 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/1.249, allocations: 0 / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/1.249, allocations: 54.47 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/1.249, allocations: 51.41 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/1.249, allocations: 96.55 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/1.249, allocations: 26.73 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.602e-05/1.249, allocations: 85.19 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.249, allocations: 12.83 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/1.249, allocations: 13.23 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.497e-05/1.249, allocations: 312.9 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/1.249, allocations: 2.016 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/1.249, allocations: 6.688 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/1.249, allocations: 11.09 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.249, allocations: 0 / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.304e-05/1.249, allocations: 48.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.249, allocations: 5.188 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.249, allocations: 3.938 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.249, allocations: 2.172 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.25, allocations: 9.141 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000244/1.25, allocations: 0.5797 MB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/1.25, allocations: 4.125 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/1.25, allocations: 1.156 kB / 1.276 GB, free: 4.156 MB / 0.9981 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 5.125e-05/1.25, allocations: 117.4 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/1.25, allocations: 1.312 kB / 1.277 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.25, allocations: 47.3 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.25, allocations: 0.8125 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.25, allocations: 0.6875 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.25, allocations: 0 / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.705e-05/1.25, allocations: 160 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.25, allocations: 0 / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/1.25, allocations: 10.16 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.25, allocations: 0.8125 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/1.25, allocations: 0 / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002259/1.25, allocations: 0.5883 MB / 1.277 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.25, allocations: 4.594 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.466e-05/1.251, allocations: 65.38 kB / 1.277 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/1.251, allocations: 81.98 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/1.251, allocations: 0.625 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/1.251, allocations: 3.484 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/1.251, allocations: 8.531 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/1.251, allocations: 5.375 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.242e-05/1.251, allocations: 84.56 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.251, allocations: 0.8438 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001935/1.251, allocations: 10.5 kB / 1.278 GB, free: 2.93 MB / 0.9981 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.0001796/1.251, allocations: 107.5 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001734/1.251, allocations: 20.62 kB / 1.278 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.251, allocations: 0 / 1.278 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/1.251, allocations: 18.98 kB / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/1.251, allocations: 11.12 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/1.252, allocations: 114.8 kB / 1.278 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/1.252, allocations: 0.6738 MB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.586e-05/1.252, allocations: 0.8125 kB / 1.279 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/1.252, allocations: 8.312 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.252, allocations: 0 / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of Templates: time 0.003062/1.255, allocations: 478.4 kB / 1.279 GB, free: 1.957 MB / 0.9981 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 -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: 9.444299709051847]