Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001433/0.001433, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001573/0.001573, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.191 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.73/2.73, allocations: 359 MB / 0.6037 GB, free: 15.02 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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.964e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002493/0.002523, allocations: 1.299 MB / 0.9522 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003704, allocations: 0.5493 MB / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.003731, allocations: 0 / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.003746, allocations: 0 / 0.9528 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.003787, allocations: 3.938 kB / 0.9528 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.004368, allocations: 151.2 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.004442, allocations: 19.92 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.00448, allocations: 0 / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.004538, allocations: 19.98 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.00458, allocations: 7.938 kB / 0.953 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.004594, allocations: 0 / 0.953 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.005046, allocations: 279.3 kB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.005058, allocations: 0 / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.00508, allocations: 4 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.005385, allocations: 159.5 kB / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005388, allocations: 0 / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005389, allocations: 0 / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.005393, allocations: 0 / 0.9534 GB, free: 9.109 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004685/0.005861, allocations: 286 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.005903, allocations: 16.03 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.005933, allocations: 0.9375 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.006058, allocations: 109.8 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006072, allocations: 384 / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.006104, allocations: 12.27 kB / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.006257, allocations: 59.97 kB / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006268, allocations: 4.172 kB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.006277, allocations: 384 / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006285, allocations: 4.375 kB / 0.9539 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.006327, allocations: 11.94 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.006502, allocations: 109.4 kB / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.006719, allocations: 46.5 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.006758, allocations: 16.84 kB / 0.954 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.006796, allocations: 4 kB / 0.954 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.006827, allocations: 34.5 kB / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.006829, allocations: 0 / 0.9541 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007217/0.00755, allocations: 241.2 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.007606, allocations: 59.34 kB / 0.9544 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.007708, allocations: 97.86 kB / 0.9545 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.007742, allocations: 25.7 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.007803, allocations: 84.14 kB / 0.9546 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.007844, allocations: 23.84 kB / 0.9546 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.007892, allocations: 17.72 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.008092, allocations: 314.8 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.008136, allocations: 11.98 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.008172, allocations: 12 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.336e-05/0.008266, allocations: 32.8 kB / 0.955 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008267, allocations: 0 / 0.955 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001974/0.008464, allocations: 73.62 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.008484, allocations: 4 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008489, allocations: 4 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.008509, allocations: 0 / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.008593, allocations: 15.98 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.008605, allocations: 3.938 kB / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.008632, allocations: 0 / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.008639, allocations: 0 / 0.9551 GB, free: 7.199 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.008765, allocations: 117.8 kB / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.00878, allocations: 0 / 0.9552 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.008999, allocations: 73.8 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.009001, allocations: 0 / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.009011, allocations: 4.062 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.009019, allocations: 8 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.009478, allocations: 255.1 kB / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.00948, allocations: 0 / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.009579, allocations: 15.98 kB / 0.9555 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009581, allocations: 0 / 0.9555 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.009593, allocations: 3.938 kB / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.009598, allocations: 4 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009599, allocations: 0 / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.009837, allocations: 184.3 kB / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.009861, allocations: 7.875 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.009888, allocations: 12.03 kB / 0.9557 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.009999, allocations: 4 kB / 0.9557 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.01003, allocations: 3.984 kB / 0.9557 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01004, allocations: 4 kB / 0.9557 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.0101, allocations: 79.8 kB / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.0101, allocations: 0 / 0.9558 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004801/0.01058, allocations: 27.88 kB / 0.9558 GB, free: 6.336 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.01085, allocations: 123.1 kB / 0.9559 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01099, allocations: 35.94 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.011, allocations: 4 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.01105, allocations: 19.92 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01143, allocations: 9.969 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.01203, allocations: 178.1 kB / 0.9562 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.01212, allocations: 67.34 kB / 0.9562 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.01216, allocations: 4 kB / 0.9562 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.01219, allocations: 12.5 kB / 0.9563 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.01219, allocations: 0 / 0.9563 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.004395/0.01659, allocations: 0.6568 MB / 0.9569 GB, free: 5.227 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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: 7.783625271171331]