Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0008171/0.0008171, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007696/0.0007696, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8587/0.8587, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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,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") 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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.601e-05, allocations: 6.219 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001726/0.001752, allocations: 1.263 MB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.002468, allocations: 0.5261 MB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.002497, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.002519, allocations: 3.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.002561, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.00298, allocations: 151.2 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.003036, allocations: 7.938 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.003088, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.003125, allocations: 4 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.003178, allocations: 7.984 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.003194, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.003481, allocations: 267.4 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.003495, allocations: 0 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003514, allocations: 11.92 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.003713, allocations: 151.5 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003715, allocations: 4 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003716, allocations: 4 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.00372, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 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.0003556/0.004076, allocations: 270 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.004119, allocations: 8.75 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.004154, allocations: 4.922 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/0.004241, allocations: 109.8 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.004255, allocations: 4.375 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.004264, allocations: 384 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.004356, allocations: 34.2 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.004365, allocations: 4.188 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.004376, allocations: 4.375 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004381, allocations: 384 / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.004405, allocations: 7.938 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.004533, allocations: 105.3 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.004582, allocations: 18.61 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.004598, allocations: 8.922 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.004619, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.004642, allocations: 38.5 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.004643, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.004782, allocations: 45.69 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.004815, allocations: 51.41 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.00487, allocations: 105.7 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.00488, allocations: 25.7 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.004905, allocations: 80.14 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.00493, allocations: 3.953 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.004956, allocations: 21.7 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.005041, allocations: 310.8 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.005053, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.005059, allocations: 4.25 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.005088, allocations: 24.73 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.005091, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.343e-05/0.005134, allocations: 37.69 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.005147, allocations: 4 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005152, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.005165, allocations: 0 / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.005309, allocations: 8 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002774/0.005586, allocations: 0.5977 MB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.005599, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.005606, allocations: 0 / 1.005 GB, free: 8.438 MB / 0.9636 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.783e-05/0.005664, allocations: 109.8 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.005668, allocations: 7.969 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.394e-05/0.005752, allocations: 48.98 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005754, allocations: 0 / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005758, allocations: 0 / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005761, allocations: 0 / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.655e-05/0.005818, allocations: 101.4 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005818, allocations: 4 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.005865, allocations: 11.98 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.005867, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.005874, allocations: 3.938 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002014/0.006076, allocations: 0.5899 MB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006076, allocations: 0 / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.633e-05/0.006123, allocations: 61.06 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.006129, allocations: 4 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.00614, allocations: 4.125 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-06/0.006147, allocations: 8 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.006161, allocations: 3.938 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006164, allocations: 7.922 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.006189, allocations: 79.28 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006189, allocations: 0 / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001333/0.006322, allocations: 11.94 kB / 1.006 GB, free: 7.297 MB / 0.9636 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.0001256/0.006448, allocations: 107.2 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.006568, allocations: 24.08 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.00657, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.006599, allocations: 12 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.006708, allocations: 5.5 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.007014, allocations: 134.5 kB / 1.006 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.007051, allocations: 63.28 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.007067, allocations: 8.5 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.007067, allocations: 128 / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of Templates: time 0.001802/0.00887, allocations: 0.7114 MB / 1.007 GB, free: 6.184 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.668229131028056]