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.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.001794/0.001794, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002011/0.002011, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002087/0.002087, allocations: 67.89 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.769/0.7711, allocations: 168.7 MB / 1.274 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002772/0.7739, allocations: 1.288 MB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.7751, allocations: 0.615 MB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.7751, allocations: 0 / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.7752, allocations: 0 / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.7752, allocations: 11.92 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.7759, allocations: 151 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.776, allocations: 15.92 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.776, allocations: 4 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.7761, allocations: 19.91 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.7761, allocations: 11.88 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.7761, allocations: 0 / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.7768, allocations: 339.3 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.7768, allocations: 11.98 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.7768, allocations: 11.94 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.7772, allocations: 146.2 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7772, allocations: 0 / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7772, allocations: 0 / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.7772, allocations: 0 / 1.277 GB, free: 2.016 MB / 0.9669 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.0005743/0.7777, allocations: 363 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7778, allocations: 12.03 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.7778, allocations: 0.9375 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.778, allocations: 168.3 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.778, allocations: 8.375 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.778, allocations: 4.375 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.7781, allocations: 42.19 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7781, allocations: 192 / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7782, allocations: 7.938 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7782, allocations: 0 / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.7782, allocations: 8 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.7784, allocations: 153.7 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.7787, allocations: 46.61 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.7787, allocations: 24.92 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.7787, allocations: 3.984 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7788, allocations: 34.5 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7788, allocations: 0 / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007788/0.7795, allocations: 310.2 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.7796, allocations: 59.39 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.7797, allocations: 93.86 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.7797, allocations: 25.7 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.7798, allocations: 84.14 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.7798, allocations: 19.84 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.7799, allocations: 17.72 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7801, allocations: 314.8 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.7801, allocations: 15.98 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.7801, allocations: 15.98 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.7802, allocations: 32.8 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7802, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/0.7803, allocations: 73.56 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.7804, allocations: 14.12 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7804, allocations: 3.938 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7804, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.7805, allocations: 11.98 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.7805, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.7805, allocations: 8 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.7805, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 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 8.662e-05/0.7806, allocations: 109.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7806, allocations: 7.875 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.7808, allocations: 81.64 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7808, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7808, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7808, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.7812, allocations: 315.4 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7812, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.7812, allocations: 11.98 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7812, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/0.7812, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7813, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7813, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.7815, allocations: 185.8 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.7816, allocations: 89.19 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7816, allocations: 4.031 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.7817, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.7817, allocations: 7.984 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.7817, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.7817, allocations: 83.8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7817, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003019/0.782, allocations: 19.94 kB / 1.279 GB, free: 14.79 MB / 0.9825 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.0002595/0.7823, allocations: 119.7 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.7824, allocations: 35.92 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7824, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.7825, allocations: 19.98 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7827, allocations: 3.938 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.7832, allocations: 220.3 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.7836, allocations: 0.6844 MB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.7836, allocations: 7.984 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.7837, allocations: 15.44 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.7837, allocations: 0 / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.00385/0.7875, allocations: 0.6668 MB / 1.281 GB, free: 12.99 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.547507257666439]