Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001345/0.001345, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001575/0.001575, allocations: 159.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.766/2.766, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.446e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003295/0.00333, allocations: 1.279 MB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.004712, allocations: 0.5137 MB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.004741, allocations: 0 / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.004769, allocations: 7.938 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.004827, allocations: 3.984 kB / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.005576, allocations: 143.2 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.005648, allocations: 15.92 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.005693, allocations: 0 / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.005739, allocations: 4 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.005795, allocations: 8 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.00581, allocations: 0 / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/0.006416, allocations: 275.3 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.006434, allocations: 0 / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.006467, allocations: 7.938 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.006853, allocations: 151.5 kB / 0.9533 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006857, allocations: 3.938 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006858, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.006866, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 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.0005367/0.007403, allocations: 281.9 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.007447, allocations: 12.03 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.007488, allocations: 4.938 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.007623, allocations: 105.8 kB / 0.9537 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.00764, allocations: 384 / 0.9537 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007652, allocations: 4.375 kB / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.007765, allocations: 30.91 kB / 0.9537 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.007777, allocations: 4.188 kB / 0.9537 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.007787, allocations: 384 / 0.9537 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007792, allocations: 384 / 0.9537 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.007828, allocations: 7.938 kB / 0.9537 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.008008, allocations: 101.3 kB / 0.9538 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.008085, allocations: 30.55 kB / 0.9539 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.008111, allocations: 4.859 kB / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.00814, allocations: 0 / 0.9539 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.008179, allocations: 34.62 kB / 0.9539 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00818, allocations: 0 / 0.9539 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.008376, allocations: 45.62 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.008437, allocations: 51.41 kB / 0.954 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.00854, allocations: 98.02 kB / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.008566, allocations: 29.73 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.008614, allocations: 84.14 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.008649, allocations: 7.953 kB / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.008688, allocations: 9.719 kB / 0.9542 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.008888, allocations: 318.8 kB / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.008907, allocations: 4 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.008922, allocations: 4 kB / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.008965, allocations: 8.859 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008967, allocations: 0 / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/0.009068, allocations: 45.7 kB / 0.9546 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.009084, allocations: 4 kB / 0.9546 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.00909, allocations: 7.984 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.009108, allocations: 0 / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.009296, allocations: 11.94 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005253/0.009822, allocations: 0.5859 MB / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.009844, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.009851, allocations: 0 / 0.9552 GB, free: 7.027 MB / 0.8575 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 0.0001119/0.009963, allocations: 117.9 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.009976, allocations: 7.938 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.01012, allocations: 48.94 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01012, allocations: 0 / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01013, allocations: 0 / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01013, allocations: 0 / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.01024, allocations: 109.3 kB / 0.9554 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01025, allocations: 0 / 0.9554 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.01035, allocations: 11.98 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01035, allocations: 0 / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01037, allocations: 7.938 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00044/0.01081, allocations: 0.5822 MB / 0.956 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.01081, allocations: 3.938 kB / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.01094, allocations: 69.09 kB / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.01095, allocations: 3.953 kB / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.01096, allocations: 0 / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.01098, allocations: 0 / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.011, allocations: 3.984 kB / 0.9561 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.011, allocations: 4 kB / 0.9561 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.01105, allocations: 79.41 kB / 0.9562 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01105, allocations: 0 / 0.9562 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002543/0.01131, allocations: 15.98 kB / 0.9562 GB, free: 5.883 MB / 0.8575 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.0002254/0.01153, allocations: 111.1 kB / 0.9563 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.01175, allocations: 19.92 kB / 0.9563 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01176, allocations: 0 / 0.9563 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01187, allocations: 15.98 kB / 0.9563 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01205, allocations: 8.156 kB / 0.9564 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.0125, allocations: 100.9 kB / 0.9565 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.01257, allocations: 67.2 kB / 0.9565 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.01258, allocations: 0 / 0.9565 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.01261, allocations: 8.5 kB / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.01261, allocations: 0 / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.00335/0.01596, allocations: 478.6 kB / 0.957 GB, free: 5.055 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.080795399844646]