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.0009415/0.0009415, allocations: 83.73 kB / 20.09 MB, free: 4.168 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.001087/0.001087, allocations: 156.9 kB / 23.51 MB, free: 0.7539 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.9507/0.9507, allocations: 177.2 MB / 204 MB, free: 5.398 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.298/2.298, allocations: 439.8 MB / 0.6839 GB, free: 12.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_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 2.925e-06/2.925e-06, allocations: 0 / 0.8403 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.741e-05, allocations: 5.266 kB / 0.8403 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002104/0.002131, allocations: 1.412 MB / 0.8417 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.002971, allocations: 0.5526 MB / 0.8422 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.003016, allocations: 0 / 0.8422 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.003043, allocations: 0 / 0.8422 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.003107, allocations: 7.938 kB / 0.8422 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.003571, allocations: 147.2 kB / 0.8423 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.003634, allocations: 11.94 kB / 0.8424 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.003684, allocations: 11.98 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.795e-05/0.003722, allocations: 0 / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.003778, allocations: 4 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.003791, allocations: 3.938 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.004667, allocations: 323.4 kB / 0.8427 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.00469, allocations: 11.92 kB / 0.8427 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.004708, allocations: 0 / 0.8427 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.004933, allocations: 147.5 kB / 0.8428 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004937, allocations: 7.984 kB / 0.8428 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004938, allocations: 0 / 0.8428 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.004943, allocations: 4 kB / 0.8428 GB, free: 9.941 MB / 0.8073 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.000336/0.005279, allocations: 252.3 kB / 0.8431 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.00532, allocations: 8.031 kB / 0.8431 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.005351, allocations: 8.875 kB / 0.8431 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.005447, allocations: 105.8 kB / 0.8432 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005459, allocations: 384 / 0.8432 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.005466, allocations: 4.375 kB / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.005541, allocations: 34.25 kB / 0.8432 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.005554, allocations: 192 / 0.8432 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005561, allocations: 4.375 kB / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005566, allocations: 384 / 0.8432 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.005582, allocations: 3.938 kB / 0.8433 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.493e-05/0.005677, allocations: 57.05 kB / 0.8433 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.457e-05/0.005721, allocations: 26.55 kB / 0.8433 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005736, allocations: 8.922 kB / 0.8433 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.005755, allocations: 3.984 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.005777, allocations: 30.56 kB / 0.8434 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.005778, allocations: 4 kB / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000104/0.005882, allocations: 33.7 kB / 0.8434 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.005931, allocations: 55.34 kB / 0.8435 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.005996, allocations: 102.7 kB / 0.8436 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.006005, allocations: 25.7 kB / 0.8436 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.006026, allocations: 80.14 kB / 0.8437 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.006053, allocations: 7.953 kB / 0.8437 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.006075, allocations: 17.7 kB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.006156, allocations: 318.8 kB / 0.844 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.006161, allocations: 256 / 0.844 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.006167, allocations: 4 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.006191, allocations: 12.84 kB / 0.844 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.006194, allocations: 4 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.801e-05/0.006232, allocations: 37.64 kB / 0.844 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.006247, allocations: 9.969 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006252, allocations: 0 / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.006269, allocations: 4 kB / 0.8441 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.006409, allocations: 7.984 kB / 0.8441 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002579/0.006667, allocations: 0.5822 MB / 0.8446 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.006678, allocations: 4 kB / 0.8446 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.006684, allocations: 0 / 0.8446 GB, free: 7.93 MB / 0.8073 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.707e-05/0.006741, allocations: 113.8 kB / 0.8447 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.006746, allocations: 3.984 kB / 0.8447 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.006822, allocations: 40.95 kB / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006825, allocations: 3.938 kB / 0.8448 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006827, allocations: 0 / 0.8448 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.006832, allocations: 8.078 kB / 0.8448 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.64e-05/0.006889, allocations: 73.84 kB / 0.8449 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00689, allocations: 0 / 0.8449 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.006941, allocations: 8 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006944, allocations: 3.984 kB / 0.8449 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.006947, allocations: 0 / 0.8449 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002015/0.007149, allocations: 0.5782 MB / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007151, allocations: 3.938 kB / 0.8455 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.223e-05/0.007193, allocations: 57.12 kB / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.007201, allocations: 8.031 kB / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-06/0.007209, allocations: 0 / 0.8455 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.007222, allocations: 8 kB / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.007234, allocations: 0 / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.007237, allocations: 0 / 0.8455 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.151e-05/0.007248, allocations: 8.844 kB / 0.8455 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.007248, allocations: 0 / 0.8455 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001208/0.007369, allocations: 27.86 kB / 0.8456 GB, free: 6.91 MB / 0.8073 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.0001775/0.007546, allocations: 104.4 kB / 0.8457 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.007646, allocations: 28.78 kB / 0.8457 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.007649, allocations: 0 / 0.8457 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.007668, allocations: 8.859 kB / 0.8457 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.569e-05/0.007744, allocations: 8.609 kB / 0.8457 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.008007, allocations: 108.6 kB / 0.8458 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.008042, allocations: 55.36 kB / 0.8459 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.008064, allocations: 4.125 kB / 0.8459 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.008104, allocations: 51.38 kB / 0.8459 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.008105, allocations: 0 / 0.8459 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.002557/0.01066, allocations: 0.6252 MB / 0.8465 GB, free: 5.902 MB / 0.8073 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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_inv.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.270330065861344]