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.002567/0.002567, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003272/0.003272, allocations: 225 kB / 22.25 MB, free: 3.574 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 1.721/1.721, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 178] 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 4.015/4.015, allocations: 0.5707 GB / 0.8759 GB, free: 16.41 MB / 0.6667 GB " [Timeout remaining time 175] 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 0.004/0.004, allocations: 70.2 kB / 1.276 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4456, allocations: 196.8 MB / 1.468 GB, free: 2.629 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.00287/0.4484, allocations: 1.318 MB / 1.469 GB, free: 1.293 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.4496, allocations: 0.5235 MB / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.4496, allocations: 0 / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.4496, allocations: 3.938 kB / 1.47 GB, free: 0.7656 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.4497, allocations: 4 kB / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.4502, allocations: 155.4 kB / 1.47 GB, free: 0.6094 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.4503, allocations: 11.92 kB / 1.47 GB, free: 0.5977 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.4503, allocations: 4 kB / 1.47 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.4504, allocations: 4 kB / 1.47 GB, free: 0.5898 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.4504, allocations: 4 kB / 1.47 GB, free: 0.5859 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.4504, allocations: 7.938 kB / 1.47 GB, free: 0.5781 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.451, allocations: 311.4 kB / 1.47 GB, free: 280 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.451, allocations: 0 / 1.47 GB, free: 280 kB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.451, allocations: 4 kB / 1.47 GB, free: 276 kB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4513, allocations: 131.5 kB / 1.47 GB, free: 144 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4513, allocations: 4 kB / 1.47 GB, free: 140 kB / 1.135 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4513, allocations: 0 / 1.47 GB, free: 140 kB / 1.135 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4513, allocations: 0 / 1.47 GB, free: 140 kB / 1.135 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.000467/0.4518, allocations: 278 kB / 1.47 GB, free: 15.83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4518, allocations: 11.98 kB / 1.47 GB, free: 15.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.4518, allocations: 8.891 kB / 1.47 GB, free: 15.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.452, allocations: 110.5 kB / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.452, allocations: 384 / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.452, allocations: 4.375 kB / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4521, allocations: 30.25 kB / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4521, allocations: 4.188 kB / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.4521, allocations: 3.938 kB / 1.471 GB, free: 15.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4521, allocations: 4 kB / 1.471 GB, free: 15.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.4522, allocations: 4 kB / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.4523, allocations: 101.3 kB / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.393e-05/0.4524, allocations: 34.48 kB / 1.471 GB, free: 15.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.4524, allocations: 4.859 kB / 1.471 GB, free: 15.45 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4524, allocations: 0 / 1.471 GB, free: 15.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4525, allocations: 34.62 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.4525, allocations: 0 / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.4526, allocations: 45.62 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4527, allocations: 51.53 kB / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.4531, allocations: 97.86 kB / 1.471 GB, free: 15.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4531, allocations: 25.7 kB / 1.471 GB, free: 15.15 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.4531, allocations: 84.08 kB / 1.471 GB, free: 15.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.4532, allocations: 15.89 kB / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.4532, allocations: 13.7 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4534, allocations: 318.8 kB / 1.471 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.4534, allocations: 0 / 1.471 GB, free: 14.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.4534, allocations: 8 kB / 1.471 GB, free: 14.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.4534, allocations: 9.047 kB / 1.471 GB, free: 14.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4534, allocations: 4 kB / 1.471 GB, free: 14.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.659e-05/0.4535, allocations: 41.69 kB / 1.471 GB, free: 14.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4535, allocations: 5.719 kB / 1.471 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4535, allocations: 4 kB / 1.471 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4535, allocations: 3.938 kB / 1.471 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4537, allocations: 11.94 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/0.4542, allocations: 0.5821 MB / 1.472 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.4542, allocations: 0 / 1.472 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4542, allocations: 0 / 1.472 GB, free: 14.01 MB / 1.151 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 0.0001038/0.4543, allocations: 121.9 kB / 1.472 GB, free: 13.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.4543, allocations: 3.953 kB / 1.472 GB, free: 13.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4545, allocations: 48.94 kB / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4545, allocations: 0 / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4545, allocations: 0 / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4545, allocations: 0 / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.4546, allocations: 101.3 kB / 1.472 GB, free: 13.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4546, allocations: 3.938 kB / 1.472 GB, free: 13.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.4546, allocations: 11.98 kB / 1.472 GB, free: 13.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4546, allocations: 4.031 kB / 1.472 GB, free: 13.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4547, allocations: 4 kB / 1.472 GB, free: 13.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004121/0.4551, allocations: 0.5821 MB / 1.473 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4551, allocations: 3.938 kB / 1.473 GB, free: 13.06 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.4552, allocations: 73.03 kB / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.4552, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.4552, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.4552, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.4552, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.4552, allocations: 12.12 kB / 1.473 GB, free: 12.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.4553, allocations: 79.27 kB / 1.473 GB, free: 12.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.4553, allocations: 0 / 1.473 GB, free: 12.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000218/0.4555, allocations: 19.88 kB / 1.473 GB, free: 12.86 MB / 1.151 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.0002338/0.4557, allocations: 123.1 kB / 1.473 GB, free: 12.73 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4559, allocations: 15.98 kB / 1.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4559, allocations: 0 / 1.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.456, allocations: 20.09 kB / 1.473 GB, free: 12.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.4561, allocations: 9 kB / 1.473 GB, free: 12.69 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.4565, allocations: 102.2 kB / 1.473 GB, free: 12.56 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.4566, allocations: 59.34 kB / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.4566, allocations: 0 / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.4566, allocations: 7.438 kB / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/0.4566, allocations: 4 kB / 1.473 GB, free: 12.47 MB / 1.151 GB Notification: Performance of Templates: time 0.003501/0.4601, allocations: 0.5564 MB / 1.474 GB, free: 11.96 MB / 1.151 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 -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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.033630495890975]