Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001461/0.001461, allocations: 85.03 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.001545/0.001545, allocations: 166.5 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.474e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002602/0.002637, allocations: 1.297 MB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003777, allocations: 0.5448 MB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.003805, allocations: 0 / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.003822, allocations: 0 / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.003873, allocations: 11.91 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.004498, allocations: 147.2 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.004567, allocations: 23.92 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.004614, allocations: 7.938 kB / 0.9834 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.004665, allocations: 23.86 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.004729, allocations: 15.97 kB / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004746, allocations: 0 / 0.9835 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.005245, allocations: 275.4 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.005262, allocations: 4 kB / 0.9837 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.00529, allocations: 11.98 kB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.005663, allocations: 159.5 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.005667, allocations: 3.938 kB / 0.9839 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005668, allocations: 4 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.005674, allocations: 0 / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004746/0.006148, allocations: 290 kB / 0.9842 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.00619, allocations: 11.97 kB / 0.9842 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.006233, allocations: 4.938 kB / 0.9842 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.006358, allocations: 117.7 kB / 0.9843 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006371, allocations: 4.359 kB / 0.9843 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.0064, allocations: 4.375 kB / 0.9843 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.006591, allocations: 109.6 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006602, allocations: 192 / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006613, allocations: 384 / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.006621, allocations: 4.375 kB / 0.9844 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.006684, allocations: 27.84 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.006856, allocations: 109.3 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.006999, allocations: 58.56 kB / 0.9846 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.007052, allocations: 24.84 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.007074, allocations: 0 / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.007108, allocations: 38.56 kB / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007109, allocations: 0 / 0.9847 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001227/0.008336, allocations: 455.8 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.008383, allocations: 55.41 kB / 0.9852 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.008473, allocations: 97.8 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.008497, allocations: 33.8 kB / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.008543, allocations: 88.06 kB / 0.9854 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.008603, allocations: 31.7 kB / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.008666, allocations: 29.7 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.008821, allocations: 314.8 kB / 0.9857 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.008873, allocations: 23.98 kB / 0.9857 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.008914, allocations: 19.98 kB / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.009019, allocations: 55.11 kB / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.00902, allocations: 0 / 0.9858 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/0.009196, allocations: 105.8 kB / 0.9859 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.009213, allocations: 7.984 kB / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009218, allocations: 0 / 0.9859 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.009234, allocations: 3.938 kB / 0.9859 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.009347, allocations: 23.94 kB / 0.986 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.009353, allocations: 0 / 0.986 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.009377, allocations: 0 / 0.986 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.009394, allocations: 11.98 kB / 0.986 GB, free: 7.074 MB / 0.9356 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 (13): * Single equations (assignments): 13 * 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.000112/0.009506, allocations: 113.8 kB / 0.9861 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.009521, allocations: 3.953 kB / 0.9861 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.009735, allocations: 109.7 kB / 0.9862 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009738, allocations: 3.938 kB / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.009742, allocations: 0 / 0.9862 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.009748, allocations: 3.984 kB / 0.9862 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.01019, allocations: 294.4 kB / 0.9865 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.01019, allocations: 4 kB / 0.9865 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01032, allocations: 23.92 kB / 0.9865 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.01032, allocations: 3.938 kB / 0.9865 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01033, allocations: 3.984 kB / 0.9865 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01033, allocations: 4 kB / 0.9865 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01033, allocations: 0 / 0.9865 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.01063, allocations: 219.6 kB / 0.9867 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.01064, allocations: 3.984 kB / 0.9867 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01066, allocations: 7.938 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.01075, allocations: 7.938 kB / 0.9867 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.01078, allocations: 7.984 kB / 0.9867 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.01079, allocations: 0 / 0.9867 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.01084, allocations: 87.22 kB / 0.9868 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01084, allocations: 0 / 0.9868 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002787/0.01112, allocations: 35.81 kB / 0.9869 GB, free: 6.09 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.000273/0.01139, allocations: 139.2 kB / 0.987 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.01155, allocations: 55.61 kB / 0.987 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01155, allocations: 3.938 kB / 0.987 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.0116, allocations: 27.98 kB / 0.9871 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01183, allocations: 4 kB / 0.9871 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.01242, allocations: 248.4 kB / 0.9873 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.01251, allocations: 75.27 kB / 0.9874 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01255, allocations: 8 kB / 0.9874 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.01259, allocations: 16.5 kB / 0.9874 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01259, allocations: 0 / 0.9874 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of Templates: time 0.004224/0.01681, allocations: 0.9268 MB / 0.9883 GB, free: 4.59 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.307417660951614]