Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000719/0.000719, allocations: 76.17 kB / 9.9 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009802/0.001699, allocations: 445.7 kB / 10.34 MB, free: 360 kB / 10.45 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.0006731/0.0006731, allocations: 149.2 kB / 11.22 MB, free: 2.949 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001587, allocations: 471.6 kB / 11.68 MB, free: 2.484 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 0.9237/0.9237, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08168/1.005, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.795/1.795, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4671/2.262, allocations: 123.3 MB / 0.728 GB, free: 5.785 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.471e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002616/0.002641, allocations: 1.377 MB / 0.7306 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.003508, allocations: 0.5676 MB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.003527, allocations: 0 / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-06/0.003535, allocations: 0.5 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.00356, allocations: 1.422 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.003996, allocations: 142.2 kB / 0.7313 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.004055, allocations: 15.95 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.004096, allocations: 12.86 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.004146, allocations: 8 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.004195, allocations: 0 / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.004206, allocations: 4.875 kB / 0.7314 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.004761, allocations: 323.3 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.004771, allocations: 1.438 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.004786, allocations: 4 kB / 0.7317 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.005045, allocations: 127.6 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.005058, allocations: 0 / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005059, allocations: 0.6562 kB / 0.7318 GB, free: 1.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.005073, allocations: 0 / 0.7318 GB, free: 1.977 MB / 0.698 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.0004071/0.005481, allocations: 276.9 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.005527, allocations: 9.75 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.00556, allocations: 0.9375 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/0.005651, allocations: 109.8 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.005662, allocations: 384 / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.005672, allocations: 384 / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.331e-05/0.005745, allocations: 35.28 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005752, allocations: 192 / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.005758, allocations: 2.156 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005764, allocations: 384 / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.005779, allocations: 7.938 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.864e-05/0.005878, allocations: 61.05 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.005929, allocations: 27.42 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.005942, allocations: 4.859 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.005959, allocations: 0.8438 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.005986, allocations: 38.61 kB / 0.7323 GB, free: 1.328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.005987, allocations: 0.875 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.752e-05/0.006085, allocations: 37.64 kB / 0.7324 GB, free: 1.285 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.006112, allocations: 52.16 kB / 0.7324 GB, free: 1.223 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.006172, allocations: 99.3 kB / 0.7325 GB, free: 1.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.006182, allocations: 31.58 kB / 0.7326 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.006209, allocations: 84.12 kB / 0.7326 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.006237, allocations: 7.953 kB / 0.7326 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.006264, allocations: 13.72 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.006353, allocations: 318.7 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.006362, allocations: 0.6875 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.00637, allocations: 4 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.006396, allocations: 13.62 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006398, allocations: 1.094 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.443e-05/0.006453, allocations: 37.64 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.006466, allocations: 4.719 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00647, allocations: 0 / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.00648, allocations: 0.6562 kB / 0.733 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.006613, allocations: 11.98 kB / 0.733 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/0.00693, allocations: 0.5877 MB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.006948, allocations: 0 / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.006953, allocations: 0 / 0.7336 GB, free: 15.96 MB / 0.7136 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 6.1e-05/0.007014, allocations: 106.9 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.007023, allocations: 7.984 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.007105, allocations: 38.73 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.00711, allocations: 3.938 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007111, allocations: 0 / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.007117, allocations: 8 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.007128, allocations: 13.16 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-06/0.007135, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.007147, allocations: 0 / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.007158, allocations: 0.75 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001428/0.0073, allocations: 122.4 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001236/0.007424, allocations: 219.4 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.168e-05/0.007446, allocations: 10.27 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.045e-05/0.007456, allocations: 8.859 kB / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of Backend: time 2.71e-07/0.007456, allocations: 0 / 0.7341 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.007912, allocations: 147.6 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0004323/0.008344, allocations: 0.6047 MB / 0.7349 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.003513/0.01186, allocations: 1.284 MB / 0.7361 GB, free: 13.4 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv/Buildings_12_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: 4.677221713587642]