Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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.002452/0.002452, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.003053/0.003053, allocations: 218.4 kB / 22.26 MB, free: 3.559 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 9.613 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 3.978/3.978, allocations: 0.5708 GB / 0.8759 GB, free: 16.41 MB / 0.6667 GB " [Timeout remaining time 176] 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_dp_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_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004341/0.004341, allocations: 78.72 kB / 1.276 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4933, allocations: 196.8 MB / 1.468 GB, free: 2.645 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.006902/0.5002, allocations: 1.316 MB / 1.469 GB, free: 1.312 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.004513/0.5047, allocations: 0.543 MB / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.5048, allocations: 0 / 1.47 GB, free: 0.7695 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.5048, allocations: 3.938 kB / 1.47 GB, free: 0.7656 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.5049, allocations: 3.984 kB / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.5056, allocations: 159.4 kB / 1.47 GB, free: 0.6055 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.5057, allocations: 11.94 kB / 1.47 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.5057, allocations: 0 / 1.47 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.5057, allocations: 7.938 kB / 1.47 GB, free: 0.5859 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.5058, allocations: 4 kB / 1.47 GB, free: 0.582 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5058, allocations: 0 / 1.47 GB, free: 0.582 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.5066, allocations: 315.4 kB / 1.47 GB, free: 280 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.5066, allocations: 0 / 1.47 GB, free: 280 kB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.5096, allocations: 4 kB / 1.47 GB, free: 276 kB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.51, allocations: 135.6 kB / 1.47 GB, free: 140 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.51, allocations: 0 / 1.47 GB, free: 140 kB / 1.135 GB Notification: Performance of FrontEnd: time 2.064e-06/0.51, allocations: 3.938 kB / 1.47 GB, free: 136 kB / 1.135 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.51, allocations: 0 / 1.47 GB, free: 136 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.0005389/0.5105, allocations: 274 kB / 1.47 GB, free: 15.83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.5106, allocations: 23.97 kB / 1.471 GB, free: 15.81 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.5106, allocations: 4.891 kB / 1.471 GB, free: 15.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.5108, allocations: 106.5 kB / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5108, allocations: 384 / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.5108, allocations: 384 / 1.471 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.5109, allocations: 30.27 kB / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5109, allocations: 192 / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5109, allocations: 3.938 kB / 1.471 GB, free: 15.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5109, allocations: 3.938 kB / 1.471 GB, free: 15.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.511, allocations: 15.97 kB / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.5112, allocations: 101.4 kB / 1.471 GB, free: 15.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.5113, allocations: 30.45 kB / 1.471 GB, free: 15.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.5113, allocations: 4.859 kB / 1.471 GB, free: 15.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5113, allocations: 4.062 kB / 1.471 GB, free: 15.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.5114, allocations: 30.56 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5114, allocations: 0 / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.5116, allocations: 49.56 kB / 1.471 GB, free: 15.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.5116, allocations: 55.41 kB / 1.471 GB, free: 15.28 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5117, allocations: 89.86 kB / 1.471 GB, free: 15.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.5117, allocations: 29.95 kB / 1.471 GB, free: 15.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.5118, allocations: 88.14 kB / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5118, allocations: 11.88 kB / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.5119, allocations: 13.72 kB / 1.471 GB, free: 15.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5121, allocations: 310.8 kB / 1.471 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.5121, allocations: 4 kB / 1.471 GB, free: 14.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.5121, allocations: 4 kB / 1.471 GB, free: 14.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.5121, allocations: 8.859 kB / 1.471 GB, free: 14.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5122, allocations: 0 / 1.471 GB, free: 14.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.985e-05/0.5123, allocations: 49.69 kB / 1.472 GB, free: 14.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5123, allocations: 8 kB / 1.472 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5123, allocations: 0 / 1.472 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5123, allocations: 3.938 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/0.5155, allocations: 8 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006073/0.5161, allocations: 0.5821 MB / 1.472 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.5161, allocations: 0 / 1.472 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5161, allocations: 4.031 kB / 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.0001327/0.5163, allocations: 113.7 kB / 1.472 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.5163, allocations: 8.078 kB / 1.472 GB, free: 13.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.5164, allocations: 48.94 kB / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5164, allocations: 4 kB / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5165, allocations: 0 / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5165, allocations: 0 / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5166, allocations: 101.3 kB / 1.472 GB, free: 13.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5166, allocations: 3.938 kB / 1.472 GB, free: 13.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.728e-05/0.5167, allocations: 15.92 kB / 1.472 GB, free: 13.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5167, allocations: 0 / 1.472 GB, free: 13.67 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5167, allocations: 0 / 1.472 GB, free: 13.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005364/0.5172, allocations: 0.5899 MB / 1.473 GB, free: 13.06 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5172, allocations: 0 / 1.473 GB, free: 13.06 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.5174, allocations: 69.09 kB / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.5174, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.5174, allocations: 0 / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.325e-05/0.5174, allocations: 4 kB / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.5174, allocations: 11.92 kB / 1.473 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.5174, allocations: 0 / 1.473 GB, free: 12.96 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.5175, allocations: 83.41 kB / 1.473 GB, free: 12.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 0 / 1.473 GB, free: 12.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000323/0.5178, allocations: 15.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.0002606/0.5181, allocations: 115.2 kB / 1.473 GB, free: 12.73 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003245/0.5213, allocations: 27.92 kB / 1.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5213, allocations: 0 / 1.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.5215, allocations: 15.98 kB / 1.473 GB, free: 12.69 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.5217, allocations: 0 / 1.473 GB, free: 12.69 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.5221, allocations: 106.4 kB / 1.473 GB, free: 12.56 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.5222, allocations: 59.34 kB / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 2.028e-05/0.5222, allocations: 0 / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.5222, allocations: 11.44 kB / 1.473 GB, free: 12.47 MB / 1.151 GB Notification: Performance of SimCode: time 4.81e-07/0.5222, allocations: 0 / 1.473 GB, free: 12.47 MB / 1.151 GB Notification: Performance of Templates: time 0.007229/0.5295, allocations: 0.5474 MB / 1.474 GB, free: 11.96 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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.149143329821527]