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.0008487/0.0008487, allocations: 83.73 kB / 20.89 MB, free: 3.395 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.002902/0.002902, allocations: 152.7 kB / 24.31 MB, free: 9.078 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.8406/0.8406, allocations: 177.2 MB / 204.8 MB, free: 5.379 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.194/2.194, allocations: 439.8 MB / 0.6846 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 178] 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 1.463e-06/1.463e-06, allocations: 0 / 0.8411 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.927e-05, allocations: 5.828 kB / 0.8411 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002519/0.002539, allocations: 1.4 MB / 0.8424 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.003413, allocations: 0.5603 MB / 0.843 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.003442, allocations: 0 / 0.843 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.003462, allocations: 3.938 kB / 0.843 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.003505, allocations: 4 kB / 0.843 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.003998, allocations: 143.2 kB / 0.8431 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.202e-05/0.004041, allocations: 7.938 kB / 0.8431 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.004077, allocations: 11.98 kB / 0.8432 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.00411, allocations: 8 kB / 0.8432 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.004152, allocations: 3.984 kB / 0.8432 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.004162, allocations: 0 / 0.8432 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.004655, allocations: 327.3 kB / 0.8435 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.004667, allocations: 4 kB / 0.8435 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.004681, allocations: 0 / 0.8435 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004926, allocations: 163.5 kB / 0.8436 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004929, allocations: 0 / 0.8436 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004929, allocations: 0 / 0.8436 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004933, allocations: 0 / 0.8436 GB, free: 9.953 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.0002734/0.005206, allocations: 244.3 kB / 0.8439 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.005243, allocations: 15.97 kB / 0.8439 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.005263, allocations: 4.922 kB / 0.8439 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.005339, allocations: 101.8 kB / 0.844 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005349, allocations: 8.375 kB / 0.844 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-06/0.005354, allocations: 4.375 kB / 0.844 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.393e-05/0.005418, allocations: 30.27 kB / 0.844 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005428, allocations: 192 / 0.844 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.005432, allocations: 384 / 0.844 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005439, allocations: 4.359 kB / 0.844 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.005454, allocations: 7.875 kB / 0.844 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.758e-05/0.005542, allocations: 61.03 kB / 0.8441 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.583e-05/0.005578, allocations: 18.61 kB / 0.8441 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.005591, allocations: 8.922 kB / 0.8441 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.005604, allocations: 4 kB / 0.8441 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.005752, allocations: 38.56 kB / 0.8442 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005753, allocations: 0 / 0.8442 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.188e-05/0.005845, allocations: 41.62 kB / 0.8442 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.005869, allocations: 51.41 kB / 0.8443 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.005922, allocations: 102.7 kB / 0.8443 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.005932, allocations: 25.7 kB / 0.8444 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.005953, allocations: 80.14 kB / 0.8445 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.005975, allocations: 7.953 kB / 0.8445 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.006002, allocations: 9.969 kB / 0.8445 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.006083, allocations: 326.8 kB / 0.8448 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.00609, allocations: 0 / 0.8448 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.006097, allocations: 0 / 0.8448 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.006121, allocations: 20.84 kB / 0.8448 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006123, allocations: 3.938 kB / 0.8448 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.954e-05/0.006173, allocations: 33.69 kB / 0.8448 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006184, allocations: 4 kB / 0.8448 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006188, allocations: 4 kB / 0.8448 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.006197, allocations: 0 / 0.8448 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.006327, allocations: 8.094 kB / 0.8449 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/0.0066, allocations: 0.5859 MB / 0.8454 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.006617, allocations: 0 / 0.8454 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.006623, allocations: 4 kB / 0.8454 GB, free: 7.938 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.355e-05/0.006676, allocations: 109.8 kB / 0.8455 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.006684, allocations: 4 kB / 0.8455 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.006758, allocations: 44.94 kB / 0.8456 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006762, allocations: 8.031 kB / 0.8456 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006763, allocations: 0 / 0.8456 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.006771, allocations: 3.953 kB / 0.8456 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.00678, allocations: 0 / 0.8456 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.00679, allocations: 4 kB / 0.8456 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.0068, allocations: 0 / 0.8456 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001267/0.006926, allocations: 133.8 kB / 0.8457 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001011/0.007027, allocations: 210.8 kB / 0.8459 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.941e-05/0.007047, allocations: 8.953 kB / 0.8459 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.335e-06/0.007055, allocations: 8.859 kB / 0.8459 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of Backend: time 2.71e-07/0.007055, allocations: 0 / 0.8459 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.007486, allocations: 146.1 kB / 0.8461 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0003824/0.007869, allocations: 0.603 MB / 0.8467 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.003211/0.01108, allocations: 1.275 MB / 0.8479 GB, free: 5.324 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: 4.711754456162453]