Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 187.3 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.894/2.894, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 66.05 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002227/0.3541, allocations: 1.274 MB / 1.309 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009569/0.3551, allocations: 0.5842 MB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3551, allocations: 4 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.3551, allocations: 0 / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.3552, allocations: 7.922 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3556, allocations: 142.6 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.3557, allocations: 11.94 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.3557, allocations: 0 / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.3558, allocations: 4 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.3558, allocations: 3.984 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3558, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.3563, allocations: 339.3 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3564, allocations: 7.938 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.3564, allocations: 4 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3566, allocations: 139.5 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3566, allocations: 4 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.91e-07/0.3566, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3566, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 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.0004041/0.3571, allocations: 270 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3571, allocations: 20.84 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.3571, allocations: 0.9375 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3573, allocations: 122.5 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3573, allocations: 384 / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.3573, allocations: 384 / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.3574, allocations: 38.2 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3574, allocations: 192 / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3574, allocations: 3.938 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3574, allocations: 0 / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.3574, allocations: 7.984 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.3576, allocations: 120.8 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.3576, allocations: 22.58 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.3577, allocations: 8.859 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3577, allocations: 4.047 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3577, allocations: 38.5 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3577, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.3579, allocations: 45.59 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3579, allocations: 51.41 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.358, allocations: 97.97 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.358, allocations: 29.83 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.358, allocations: 80.14 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3581, allocations: 15.89 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.3581, allocations: 9.719 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3582, allocations: 310.8 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3582, allocations: 4 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.3583, allocations: 4 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.3583, allocations: 24.84 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3583, allocations: 0 / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.71e-05/0.3584, allocations: 37.7 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3584, allocations: 4 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3584, allocations: 7.938 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3584, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3586, allocations: 11.98 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/0.359, allocations: 0.586 MB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.359, allocations: 4.031 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.359, allocations: 0 / 1.312 GB, free: 13.12 MB / 1.014 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 8.933e-05/0.3591, allocations: 109.8 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/0.3591, allocations: 0 / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3592, allocations: 45 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3592, allocations: 4 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3592, allocations: 4.125 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3592, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3593, allocations: 132.6 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3593, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.3594, allocations: 15.92 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3594, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3594, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000347/0.3598, allocations: 0.5821 MB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3598, allocations: 8.031 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.3598, allocations: 69.09 kB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-06/0.3598, allocations: 0 / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.3599, allocations: 0 / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.3599, allocations: 4 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3599, allocations: 3.938 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.3599, allocations: 4 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.3599, allocations: 79.31 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001899/0.3601, allocations: 15.88 kB / 1.313 GB, free: 11.95 MB / 1.014 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.0001635/0.3603, allocations: 108 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3604, allocations: 23.98 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3604, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.3605, allocations: 16.14 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.3607, allocations: 10.28 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.361, allocations: 102.2 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3613, allocations: 0.669 MB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.3613, allocations: 4 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.3613, allocations: 7.438 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3613, allocations: 4.062 kB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of Templates: time 0.002706/0.364, allocations: 471.5 kB / 1.314 GB, free: 10.5 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.083225293084979]