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.0009597/0.0009597, allocations: 80.75 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.0009451/0.0009451, allocations: 181 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 0.9927/0.9927, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.388/2.388, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.914e-06/1.914e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.896e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002114/0.002133, allocations: 1.336 MB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.002995, allocations: 0.5525 MB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.003016, allocations: 0 / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.003036, allocations: 3.984 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.003084, allocations: 3.938 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.003545, allocations: 139.3 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.003593, allocations: 7.938 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.003628, allocations: 8 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.003661, allocations: 7.984 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.003706, allocations: 11.92 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.003719, allocations: 0 / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.004117, allocations: 263.5 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.004131, allocations: 3.938 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.004147, allocations: 7.984 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.004394, allocations: 147.6 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004396, allocations: 3.938 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004396, allocations: 0 / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.0044, allocations: 0 / 0.841 GB, free: 11.71 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.0002848/0.004684, allocations: 252.6 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00472, allocations: 16.62 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.004742, allocations: 0.9375 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.561e-05/0.004818, allocations: 105.8 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.004827, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.004834, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.815e-05/0.004893, allocations: 30.27 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.004899, allocations: 192 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004907, allocations: 8.359 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.00491, allocations: 384 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.48e-05/0.004925, allocations: 7.938 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.215e-05/0.005007, allocations: 60.98 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.932e-05/0.005047, allocations: 18.61 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.005059, allocations: 8.922 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.005071, allocations: 0 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.005091, allocations: 34.56 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.005092, allocations: 0 / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.528e-05/0.005177, allocations: 37.62 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.005208, allocations: 51.41 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.005261, allocations: 106.7 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.005504, allocations: 29.95 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.005527, allocations: 84.14 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.005556, allocations: 7.891 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.005583, allocations: 13.7 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.005667, allocations: 322.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.005675, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-06/0.005683, allocations: 4 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.005704, allocations: 8.859 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005706, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.663e-05/0.005763, allocations: 45.67 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.005775, allocations: 11.94 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005779, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005789, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.005902, allocations: 7.984 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000275/0.006177, allocations: 0.5821 MB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.006193, allocations: 0 / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.0062, allocations: 8 kB / 0.8428 GB, free: 9.688 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.694e-05/0.006257, allocations: 105.8 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.006265, allocations: 8.031 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/0.006337, allocations: 45 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.00634, allocations: 3.938 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006342, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006344, allocations: 0 / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.999e-05/0.006404, allocations: 61.91 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.006407, allocations: 3.984 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.006467, allocations: 8 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.006469, allocations: 0 / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.006473, allocations: 0 / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002233/0.006696, allocations: 0.5898 MB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006697, allocations: 0 / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.103e-05/0.006748, allocations: 61.12 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.006758, allocations: 7.891 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.006766, allocations: 3.984 kB / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.006776, allocations: 0 / 0.8437 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.006786, allocations: 4 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.006789, allocations: 0 / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.057e-05/0.006799, allocations: 8.953 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006799, allocations: 0 / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001797/0.006979, allocations: 11.94 kB / 0.8437 GB, free: 8.691 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.0001214/0.0071, allocations: 88.41 kB / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.00721, allocations: 28.77 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007213, allocations: 0 / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.007262, allocations: 20.84 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.889e-05/0.007321, allocations: 8.156 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.007528, allocations: 112.6 kB / 0.844 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.119e-05/0.007549, allocations: 51.36 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.142e-05/0.007561, allocations: 3.938 kB / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.007584, allocations: 51.38 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.007584, allocations: 0 / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.001738/0.009323, allocations: 0.5488 MB / 0.8446 GB, free: 7.758 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 -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.290796897839755]