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.0009006/0.0009006, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000992/0.000992, allocations: 181.3 kB / 23.36 MB, free: 1.133 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 1.06/1.06, allocations: 177.2 MB / 203.8 MB, free: 5.438 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.428/2.428, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.066e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001745/0.001765, allocations: 1.376 MB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000702/0.002467, allocations: 0.5448 MB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.002489, allocations: 4 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.002507, allocations: 7.938 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.002551, allocations: 0 / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.00289, allocations: 135.3 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.002939, allocations: 11.92 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.002974, allocations: 0 / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.00301, allocations: 11.92 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.003054, allocations: 8 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.003065, allocations: 4 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.003379, allocations: 271.4 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.003392, allocations: 4 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.393e-05/0.003406, allocations: 4 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.003588, allocations: 155.5 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003591, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003591, allocations: 0 / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003594, allocations: 0 / 0.8411 GB, free: 11.56 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.0002502/0.003845, allocations: 244.7 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.003879, allocations: 12.62 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.003905, allocations: 0.9375 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.391e-05/0.003979, allocations: 109.7 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003989, allocations: 8.359 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-06/0.003994, allocations: 4.312 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.717e-05/0.004052, allocations: 34.27 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004058, allocations: 192 / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.004064, allocations: 384 / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004069, allocations: 384 / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-06/0.004078, allocations: 3.938 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.507e-05/0.004163, allocations: 60.98 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.983e-05/0.004203, allocations: 34.52 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.004215, allocations: 8.922 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.004227, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.004247, allocations: 30.56 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.004247, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.156e-05/0.004329, allocations: 37.7 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.004355, allocations: 51.41 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.004546, allocations: 102.7 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.004553, allocations: 29.64 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.004571, allocations: 84.39 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.004594, allocations: 7.953 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.004615, allocations: 9.719 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.004684, allocations: 322.8 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.004688, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-06/0.004695, allocations: 3.984 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.706e-05/0.004712, allocations: 8.859 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.004716, allocations: 4 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.008e-05/0.004756, allocations: 29.7 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.004765, allocations: 4.094 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.004771, allocations: 15.98 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004783, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.004891, allocations: 7.938 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002265/0.005118, allocations: 0.5821 MB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.005129, allocations: 0 / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.005132, allocations: 0 / 0.8429 GB, free: 9.551 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.737e-05/0.00518, allocations: 113.8 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-06/0.005184, allocations: 0 / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.005252, allocations: 56.98 kB / 0.8431 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.005256, allocations: 3.938 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.005257, allocations: 3.938 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.00526, allocations: 0 / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.743e-05/0.005308, allocations: 65.89 kB / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005309, allocations: 0 / 0.8431 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.005352, allocations: 7.984 kB / 0.8431 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.005356, allocations: 7.984 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.005359, allocations: 0 / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001777/0.005537, allocations: 0.5821 MB / 0.8437 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005538, allocations: 4 kB / 0.8437 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.86e-05/0.005577, allocations: 61.06 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.005584, allocations: 7.891 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.00559, allocations: 0 / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-06/0.005596, allocations: 0 / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.005608, allocations: 4 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.00561, allocations: 0 / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.794e-06/0.005618, allocations: 4.859 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005618, allocations: 192 / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001078/0.005725, allocations: 19.92 kB / 0.8438 GB, free: 8.535 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.000119/0.005844, allocations: 95.72 kB / 0.8439 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.706e-05/0.005942, allocations: 24.78 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.005944, allocations: 0 / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.005975, allocations: 16.84 kB / 0.8439 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.171e-05/0.006037, allocations: 6.438 kB / 0.8439 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.006244, allocations: 104.8 kB / 0.844 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.626e-05/0.006271, allocations: 55.36 kB / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.006284, allocations: 0 / 0.8441 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.006309, allocations: 51.36 kB / 0.8441 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.00631, allocations: 3.938 kB / 0.8441 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of Templates: time 0.002015/0.008325, allocations: 0.5444 MB / 0.8447 GB, free: 7.617 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.278873370029032]