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.001475/0.001475, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001456/0.001456, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9699/0.9699, allocations: 177.1 MB / 203.7 MB, free: 5.535 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 2.402/2.402, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.102e-06/1.102e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.648e-05, allocations: 9.266 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.005036/0.005062, allocations: 1.325 MB / 0.8911 GB, free: 8.391 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007136/0.005776, allocations: 0.5448 MB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.00579, allocations: 0 / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.005801, allocations: 3.984 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.384e-05/0.005824, allocations: 7.938 kB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.006192, allocations: 143.3 kB / 0.8917 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.006239, allocations: 15.92 kB / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.00628, allocations: 0 / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.006318, allocations: 8 kB / 0.8918 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.006363, allocations: 7.922 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.006374, allocations: 4 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.006712, allocations: 255.5 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.00673, allocations: 11.94 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.006745, allocations: 7.984 kB / 0.892 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.006952, allocations: 143.6 kB / 0.8922 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.006956, allocations: 3.938 kB / 0.8922 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006957, allocations: 0 / 0.8922 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.00696, allocations: 0 / 0.8922 GB, free: 7.242 MB / 0.8542 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.003443/0.0104, allocations: 384.3 kB / 0.8925 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.01045, allocations: 8.625 kB / 0.8925 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.01047, allocations: 4.938 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.01055, allocations: 112.6 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.01056, allocations: 4.375 kB / 0.8927 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.01057, allocations: 4.375 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.298e-05/0.01063, allocations: 30.27 kB / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.01064, allocations: 192 / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.01064, allocations: 384 / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01065, allocations: 384 / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.01066, allocations: 15.91 kB / 0.8927 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.01076, allocations: 93.2 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.0108, allocations: 31.09 kB / 0.8928 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.01082, allocations: 15.69 kB / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.01084, allocations: 0 / 0.8928 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.01086, allocations: 37.45 kB / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.01086, allocations: 0 / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001007/0.01096, allocations: 41.62 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.01099, allocations: 51.41 kB / 0.893 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.01106, allocations: 157.9 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.01107, allocations: 25.7 kB / 0.8931 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.0111, allocations: 126.9 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.01112, allocations: 12.14 kB / 0.8933 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.01115, allocations: 27.36 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.01128, allocations: 0.4883 MB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-06/0.01128, allocations: 0 / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-06/0.01129, allocations: 4 kB / 0.8938 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.01131, allocations: 11.69 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01132, allocations: 0 / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.62e-05/0.01137, allocations: 49.58 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.01138, allocations: 7.938 kB / 0.8939 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01139, allocations: 0 / 0.8939 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.0114, allocations: 8.094 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.0115, allocations: 4 kB / 0.8939 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003185/0.01182, allocations: 0.8971 MB / 0.8947 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.01184, allocations: 0 / 0.8947 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.01184, allocations: 0 / 0.8947 GB, free: 4.387 MB / 0.8542 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.383e-05/0.01191, allocations: 152.6 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-06/0.01191, allocations: 11.94 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.01199, allocations: 45 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01199, allocations: 4 kB / 0.8949 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01199, allocations: 0 / 0.8949 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.01199, allocations: 0 / 0.8949 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.629e-05/0.01206, allocations: 97.27 kB / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.01206, allocations: 0 / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.01211, allocations: 11.98 kB / 0.895 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01211, allocations: 0 / 0.895 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.01211, allocations: 0 / 0.895 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002674/0.01238, allocations: 0.8971 MB / 0.8959 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01238, allocations: 8.094 kB / 0.8959 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.479e-05/0.01244, allocations: 76.39 kB / 0.896 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.01244, allocations: 7.938 kB / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.01245, allocations: 0 / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.01246, allocations: 0 / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.01247, allocations: 0 / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.01247, allocations: 0 / 0.896 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.0125, allocations: 123.2 kB / 0.8961 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0125, allocations: 0 / 0.8961 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001822/0.01269, allocations: 15.92 kB / 0.8961 GB, free: 2.852 MB / 0.8542 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.0001487/0.01283, allocations: 103.4 kB / 0.8962 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.01294, allocations: 31.61 kB / 0.8963 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01294, allocations: 0 / 0.8963 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.01299, allocations: 23.67 kB / 0.8963 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.01613, allocations: 3.938 kB / 0.8963 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.01642, allocations: 126.3 kB / 0.8964 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.01645, allocations: 55.22 kB / 0.8965 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.01646, allocations: 7.922 kB / 0.8965 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.01651, allocations: 70.2 kB / 0.8965 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of SimCode: time 1.513e-06/0.01651, allocations: 0 / 0.8965 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.005569/0.02208, allocations: 0.5292 MB / 0.8971 GB, free: 1.879 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20600843988359]