Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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.00115/0.00115, 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.005951/0.005951, allocations: 156.1 kB / 24.31 MB, free: 8.527 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.9112/0.9112, allocations: 177.1 MB / 204.8 MB, free: 5.406 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.232/2.232, allocations: 439.8 MB / 0.6846 GB, free: 12.59 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_dp_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_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.841 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.026e-05, allocations: 9.203 kB / 0.8411 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.00173/0.00175, allocations: 1.419 MB / 0.8424 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.002435, allocations: 0.5681 MB / 0.843 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.00246, allocations: 0 / 0.843 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.002475, allocations: 0 / 0.843 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.002516, allocations: 7.938 kB / 0.843 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.002922, allocations: 151.2 kB / 0.8431 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.00296, allocations: 7.938 kB / 0.8432 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.055e-05/0.002991, allocations: 4 kB / 0.8432 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.00302, allocations: 7.984 kB / 0.8432 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.003056, allocations: 11.92 kB / 0.8432 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.003065, allocations: 0 / 0.8432 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.003423, allocations: 331.3 kB / 0.8435 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.003438, allocations: 4 kB / 0.8435 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.003451, allocations: 3.984 kB / 0.8435 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.003635, allocations: 151.5 kB / 0.8436 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003637, allocations: 0 / 0.8436 GB, free: 10 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003638, allocations: 0 / 0.8436 GB, free: 10 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003642, allocations: 0 / 0.8436 GB, free: 10 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.0002364/0.003878, allocations: 252.3 kB / 0.8439 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.003911, allocations: 12.03 kB / 0.8439 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.798e-05/0.003929, allocations: 0.9375 kB / 0.8439 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/0.003995, allocations: 109.8 kB / 0.844 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.004004, allocations: 4.375 kB / 0.844 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.00401, allocations: 4.312 kB / 0.844 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.284e-05/0.004062, allocations: 30.27 kB / 0.844 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004071, allocations: 192 / 0.844 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.004077, allocations: 4.359 kB / 0.844 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004081, allocations: 384 / 0.844 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.158e-05/0.004093, allocations: 3.938 kB / 0.844 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.487e-05/0.004168, allocations: 61.05 kB / 0.8441 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.019e-05/0.004198, allocations: 18.61 kB / 0.8441 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.082e-05/0.004209, allocations: 16.86 kB / 0.8441 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.004221, allocations: 0 / 0.8441 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.004238, allocations: 30.56 kB / 0.8442 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.004239, allocations: 3.938 kB / 0.8442 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.559e-05/0.004314, allocations: 37.69 kB / 0.8442 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.004335, allocations: 51.41 kB / 0.8443 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.004378, allocations: 98.72 kB / 0.8444 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.004385, allocations: 25.7 kB / 0.8444 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.004403, allocations: 84.14 kB / 0.8445 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.004424, allocations: 8.203 kB / 0.8445 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.004445, allocations: 21.69 kB / 0.8445 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.004507, allocations: 318.8 kB / 0.8448 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-06/0.004513, allocations: 3.938 kB / 0.8448 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.004519, allocations: 0 / 0.8448 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.838e-05/0.004537, allocations: 12.86 kB / 0.8448 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.004538, allocations: 0 / 0.8448 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.504e-05/0.004574, allocations: 33.69 kB / 0.8448 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.004584, allocations: 8 kB / 0.8448 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004587, allocations: 0 / 0.8448 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.004594, allocations: 4.094 kB / 0.8448 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.0047, allocations: 7.984 kB / 0.8449 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003406/0.005041, allocations: 0.5859 MB / 0.8454 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.005056, allocations: 0 / 0.8454 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005062, allocations: 4 kB / 0.8454 GB, free: 7.992 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 4.736e-05/0.005109, allocations: 109.8 kB / 0.8455 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-06/0.005113, allocations: 0 / 0.8455 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.005177, allocations: 49.06 kB / 0.8456 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.005181, allocations: 7.875 kB / 0.8456 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005181, allocations: 0 / 0.8456 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.005189, allocations: 3.953 kB / 0.8456 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-06/0.005195, allocations: 0 / 0.8456 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.005201, allocations: 4 kB / 0.8456 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.00521, allocations: 3.984 kB / 0.8456 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.307e-05/0.005303, allocations: 125.8 kB / 0.8457 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.774e-05/0.005381, allocations: 214.7 kB / 0.8459 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.624e-05/0.005397, allocations: 16.97 kB / 0.8459 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.663e-06/0.005404, allocations: 4.859 kB / 0.8459 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of Backend: time 2e-07/0.005404, allocations: 0 / 0.8459 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.005724, allocations: 148 kB / 0.8461 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0003223/0.006046, allocations: 0.603 MB / 0.8467 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of Templates: time 0.002418/0.008464, allocations: 1.241 MB / 0.8479 GB, free: 5.406 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_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.839631652459502]